Wednesday, May 20, 2009

Inserting single quotes to a string in sql query

Just Add one more single quotes to that string by the user

eg: insert into table name values('De''zousa')

or

The programmer has to maintain that one using coding
Means we have to check the string if a single quotes exists or not.
If exists we have to add one more single quotes to that string.

No comments:

Post a Comment