Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problem is the pl/sql variable can have only 1000 bytes despite being varchar2(4000) is that a bug?
On 7 Jun 2005 09:37:04 -0500, colin_lyse_at_98fgfgs.com (colin_lyse)
wrote:
>>and got the same error.
>>
>>any ideas?!
The maximum length of a varchar2 in pl/sql in 32767 bytes (32k) There are limitations to the length of a statement, you would need to look them up in the Oracle reference manual. Secondly as the aliases you are using are fully redundant, as the table qualifiers are automatically stripped. Using aliases like this is typically the sqlserver way to misuse sql. Thirdly you are not running the most recent patch for Oracle 9i.
-- Sybrand Bakker, Senior Oracle DBAReceived on Tue Jun 07 2005 - 12:06:24 CDT