Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling Quotation marks for SQL Insert

Status
Not open for further replies.

SmileyFace

Programmer
Sep 10, 2002
99
US
Hey Guys. Really need your help with this one.

I am inserting data into an SQL server table from my asp page but need a function to handle the single quotation marks. I basically need to read the string being inserted into the table field and replace any single quotation marks (') with double quotes (") before inserting else I will get an error. PLEASE HELP me with this!! Would really appreciate it if someone could help me with the script.

Thanks a lot!
 
thread333-600736
thread333-287702
thread333-437474

_____________________________________________________________________
Where have all my friends gone to????
onpnt2.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top