Click to See Complete Forum and Search --> : Problem with insert statement


BHUSHAN
09-01-2004, 10:58 AM
Hi,

I would like to insert a string having ' charactor.
I am getting problem because of this
can any body help me ....
its verry urgent....

Thanks

Regards
Bhushan

gandolf989
09-01-2004, 11:21 AM
When you are using ' on purpose, I think that you are asking for problems. Why don't you use " or ` instead?

DaPi
09-01-2004, 11:21 AM
The single quote must be entered twice inside a quoted string:
Insert . . . Values('O''Neal', . . . . .)

oracle_faq
09-01-2004, 03:20 PM
I would recommend using a bind variable in the insert statement. and that bnd variable can contain any value.

BHUSHAN
09-02-2004, 12:32 AM
thanks everybody........