Hi all:
I recently converted an Access db to an SQL db and now I'm getting the following errors when trying to update a record:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-4.0.13-nt]You have an error in your SQL
syntax. Check the manual that corresponds to your MySQL server version
for the right syntax to use near 's delight. All of the <A
href="/file.asp, line 153
Line 153 reads:
Conn.Execute("UPDATE communities SET co_tourinfo='" & Replace(co_tourinfo, "'", "''" & "' WHERE co_num=" & co_num)
I looked in the database and see that the text is being stored with an "\" whereever there is an apostrophe. I'm not sure if this is a result of the db conversion or if I need to fix my INSERT or UPDATE statements.
Please help.
I recently converted an Access db to an SQL db and now I'm getting the following errors when trying to update a record:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-4.0.13-nt]You have an error in your SQL
syntax. Check the manual that corresponds to your MySQL server version
for the right syntax to use near 's delight. All of the <A
href="/file.asp, line 153
Line 153 reads:
Conn.Execute("UPDATE communities SET co_tourinfo='" & Replace(co_tourinfo, "'", "''" & "' WHERE co_num=" & co_num)
I looked in the database and see that the text is being stored with an "\" whereever there is an apostrophe. I'm not sure if this is a result of the db conversion or if I need to fix my INSERT or UPDATE statements.
Please help.