Click to See Complete Forum and Search --> : single quote string


vidhu
August 12th, 2003, 09:03 PM
How to insert single quoted string in text field of a database
eg:factors to Alzheimer's disease (AD)

Thanks
Vidhu

womalley
August 13th, 2003, 12:07 PM
escape the single quote

What type of database are you using? Show some of the code that you are using for the insert...

Will

PiyuNewe
August 16th, 2003, 05:42 AM
Yes, it really depends on which database you are using.

But u have to use Escape sequence for insertion such data in colunm.

e.g. to insert data like

D'Souza
i have to type it like
D''Souza.

Its somewhat painful to go though all the data and replace it with double single quotes.

But we have to do !!! no Excuse !!!