How to handle a single quote in Oracle SQL with long text -


how insert record in column having clob data type(so big text) having single quote in it?

i've seen

how handle single quote in oracle sql

but solution make manual , i'm trying insert long text contains lot of single quotes. once oracle detects ', insert doesn't work.

my question if there kind of command "set define off" can tell oracle disable ' in text

try q' operator; example:

create table t_clob ( clob)  insert t_clob values (q'[start aa'a''aa aa 'a'' aa'a'  a'a' end]') 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -