I get this error when I click SUBMIT in a form where I have an apostrophe in a name such as "John's" in the input field:
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 10: Incorrect syntax near 's'.
SQL = "INSERT INTO itemsordered
Is there a code/way to make SQL accept these characters. The ITEM column is setup as a CHAR field. Should it be VARCHAR?
Thanks as always.
Robert Orlini
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Re: chars not accepted in SQL? Robert Orlini
- Re: chars not accepted in SQL? Philip Arnold
- RE: chars not accepted in SQL? Pascal Peters
- RE: chars not accepted in SQL? Robert Orlini
- Re: chars not accepted in SQL? Thomas Chiverton
- Message Board CFDEV
- Re: Message Board Howie Hamlin
- Re: Message Board Rick Root
- Re: chars not accepted in SQL? Philip Arnold
- RE: chars not accepted in SQL? Pascal Peters
- RE: chars not accepted in SQL? Robert Orlini