Difference between revisions of "Error Messages/43104"
Line 23: | Line 23: | ||
* [[DbQuery]] | * [[DbQuery]] | ||
* [[DbWrite]] | * [[DbWrite]] | ||
+ | * [[Database functions]] | ||
+ | * [[Database access]] |
Latest revision as of 21:10, 29 February 2016
Example error messages
42000: [Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'. 42000: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'FORM Asset'.
Causes
This error is issued by the database's SQL driver when DbQuery or DbWrite is evaluated. It indicates bad SQL syntax, e.g misspelling the SELECT command, as in
"SELEC * FROM Asset"
or misspelling the FROM keyword:
"SELECT * FORM Asset"
Remedy
Fix the SQL.
See Also
Comments
Enable comment auto-refresher