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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access, SQL, and apostrophes

Status
Not open for further replies.

thatswimmer

Programmer
Aug 13, 2001
3
0
0
US
i have set up a javascript function to loop through form elements and replace (')'s with ('')'s, but are there any other special SQL characters that i need to be careful of when putting together queries from variables? Also, is there a way to do this in SQL instead of in javascript??

thanks
 
it is possible to do the replace in asp with the following line of code
dim str
str = replace(str,"'","""")
I don't know of other special signs

Greetz,

Smarty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top