I need to assign a very large xml data of around 30,000 lines to a CLOB data type in oracle database 11g r2. I am using this command in Oracle Sql Developer.
When I use the following command, at first I get 7 prompts for entering quote value
and then when statement execution completes, I get - 'string literal too long` error.
update tablename set columnName = 'large xml data' where id=1;
I used seven double (single quotes) inside the xml data to escape the single quotes.
How to assign this data to the CLOB column?