Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-01704 "String Literal Too Long"
On Mon, 21 May 2001,benajam lhoussain scribbled on the wall in glitter crayon:
->Hi, I created a table with a LONG type. From what I read in the Oracle docs
->LONG supports up to 2 gigs of data. But I am not able to insert more than
->4000 characters into that field.
->i have this message error : ORA-01704 "String Literal Too Long"
->
->any help please.
->
->
->
To insert that long a literal, you run up against an SQL*Plus limitation. You'll have
to insert it in chunks, keeping track of where the last one ended so you know where to
start the next one.
-- Bill Thater Certifiable ORACLE DBA Telergy, Inc. thaterw_at_telergy.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You gotta program like you don't need the money, You gotta compile like you'll never get hurt, You gotta run like there's nobody watching, It's gotta come from the heart if you want it to work. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LISP: To call a spade a thpade. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Thater, William INET: ThaterW_at_telergy.net Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon May 21 2001 - 10:14:59 CDT