Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Oracle long datatype with NVL() in insert statement

Oracle long datatype with NVL() in insert statement

From: <sameergn_at_gmail.com>
Date: 3 Oct 2005 10:38:16 -0700
Message-ID: <1128361095.799613.67130@o13g2000cwo.googlegroups.com>


Hi,

I have observed that insert statement using NVL function fails if a long variable's length is more than 4000.

insert into some_table values (NVL(longvar, ''))

The error message is ORA-01461: can bind a LONG value only for insert into a LONG column.

Is there any foolproof way of using NVL with long datatype? (Other than initializing it with empty string '')

Thanks,
Sameer. Received on Mon Oct 03 2005 - 12:38:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US