954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

insert single quotes

Hello every one


I am trying to insert text into oracle 10g, which contains ( ‘ ) single quotes.

I know its simple , I have tried google.

This is the error I get

Warning: ociparse() [function.ociparse]: ORA-01756: quoted string not properly terminated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\qmon\age.php on line 46

Any idea,thanks in advance.

BASSUHG
Newbie Poster
8 posts since Mar 2009
Reputation Points: 10
Solved Threads: 0
 

to enter single quotes you need to enter 2 single quotes ('') also do not forget to enclose those by enclosing single quotes.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

insert into test values('Raju'||''''||'s Pen');

inside the single quotes two single quotes will be added then it will be concatenated with the string

keerthanasunder
Newbie Poster
1 post since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You