I have a web page that updates records in a mySQL database. I'm having trouble updating the fields that are of "mediumtext" type. When I'm updating that field using ASP/vbscript, the value is a string. I get the following error on the page:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MySQL][ODBC 3.51 Driver][mysqld-4.0.14-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 'desc='testing solution testing testing', challenge='testing te
My sql update string looks like this:
sSqlString = "UPDATE casestudy SET sector=" & ssector & ", client=" & sclient & ", solution=" & ssolution & ", desc=" & sdesc & ", challenge=" & schallenge & ", result=" & sresult & " WHERE num = " & number
OH and the string variables all already have single quotes around the the values.
Can someone help me...please...thanks in advance
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MySQL][ODBC 3.51 Driver][mysqld-4.0.14-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 'desc='testing solution testing testing', challenge='testing te
My sql update string looks like this:
sSqlString = "UPDATE casestudy SET sector=" & ssector & ", client=" & sclient & ", solution=" & ssolution & ", desc=" & sdesc & ", challenge=" & schallenge & ", result=" & sresult & " WHERE num = " & number
OH and the string variables all already have single quotes around the the values.
Can someone help me...please...thanks in advance