Article ID: 124322
Article Last Modified on 7/27/2001
SQLPrepare(hstmt,"select * from ordering",SQL_NTS)
SQLNumResultCols(hstmt,pccol)
Returns SQL_ERROR.
SQLError(henv,hdbc,hstmt1,szSQLState,pfNativeError,SZErrorMsg)
Returns
SQLState=37000
szErrorMsg=[Microsoft][ODBC Microsoft Access 2.0 Driver] Syntax error
in From clause
SQLPrepare(hstmt,"select * from reordering",SQL_NTS)
SQLNumResultCols(hstmt,pccol)
Returns SQL_ERROR.
SQLError(henv,hdbc,hstmt1,szSQLState,pfNativeError,SZErrorMsg)
Returns
SQLState=S0002
szErrorMsg=[Microsoft][ODBC Microsoft Access 2.0 Driver] Couldn't
find input table or query 're'
Also, these errors are returned for table names that contain the word
GROUP, like regroup, regrouping. Other examples of the table names that
have the problem are border, camcorder, or grouped.
Additional query words: 2.00.2317 ODBC MFC Visual C++ MSVC Windows NT
Keywords: kbbug KB124322