Reputation: 899
I have a string of more than 15000 characters.
I'm using long datatype to store the above string, but getting "string literal too long" exception.
Which datatype I should use to store that string in Oracle?
Upvotes: 0
Views: 407
Reputation: 142710
That would be a CLOB
.
Furthermore, quoting what Alex Poole said in his comment:
But you will have the same issue trying to assign a value to it. You need to build it up in chunks
Upvotes: 4