Skip to content
Advertisement

insert XML request into clob column using Oracle

I do have XML request as below:

I wanted to insert it into a table in clob column but due to double quotes (” “) it is not insertable and below error is observed . SQL Error: ORA-01756: quoted string not properly terminated it is not insertable. Please suggest

Advertisement

Answer

Oracle uses single quotes to delimit strings.

Use single quotes, there is no need to escape double quotes – see example below

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement