PL/SQL (MOSC)

MOSC Banner

ORA-01704 string length in INSERT statements?

edited Jun 15, 2015 11:41AM in PL/SQL (MOSC) 20 commentsAnswered

I'm not sure at the moment what the cause is for this error. I'm inserting a LONG datatype (yes, deprecated, I know) in an INSERT statement.

There is a starting quote and an ending quote. At the moment I'm getting " an ORA-01704 string literal too long."

The string is inline with other data and it contains \015 (CR) and is about 4KB in size. Is there a limit for an inline INSERT of a LONG?

I'm not sure whether it's the length that exceeds some limit of if there's maybe a "," or some quotes in it that lead to confusion.

--

Christoph

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center