Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: how to insert ' in text?


Message #1 by "yuenkit" <janet_smith2000@y...> on Sun, 15 Apr 2001 20:30:58
http://www.adopenstatic.com/faq/80040e14.asp

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: strSQL = "INSERT INTO table([text]) VALUES(' & strText & "');"
: 
: 
: if strText = "John's dog died.", then it may caused error.
: how to solve it?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index