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 -> Insert a long value ORA-01704: string literal too long

Insert a long value ORA-01704: string literal too long

From: <kirche_at_my-deja.com>
Date: Thu, 03 Feb 2000 16:29:57 GMT
Message-ID: <87cadv$gvd$1@nnrp1.deja.com>


hi everyone,
i've defined a table with a LONG column to store text containing more than 4000 car.
The problem is that when i do an insert like :

insert into my_table (long_value) values ('patati.... patata')

i have the oracle error : ORA-01704: string literal too long...

if 'patati....patata' has less than 4000 car. : it's ok.

What's the problem ? is it that i use quotes ? it seems that 'patati....patata' is considered like a VARCHAR2 data.

thank u for help

Cyril

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Feb 03 2000 - 10:29:57 CST

Original text of this message

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