System Error

Number : -2147217900

Page : /scripts/default.asp

Desc : [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-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 '' at line 1

SQL : SELECT discCode FROM carthead WHERE idOrder =