| Mailing List | | Home | | MySQL General - General MySQL discussion | | MaxDB - Everything about MaxDB, formerly known as SAP DB | | MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP | | MySQL++ - Programming with the C++ API to MySQL | | ODBC - ODBC with the MySQL Connector/ODBC driver | | Java Help - Mostly related to the MySQL Connector/J driver | | Perl - Perl support for MySQL with DBI and DBD::mysql | | GUI - MySQL GUI Tools | | Announcement |
|
|
  | |  | ODBC and select count queries | ODBC and select count queries 2004-05-10 - By Ajit Aranha
Back Hi, I am using SQLExecDirect to ?select count(*) from sometable where somecolumn=?somevalue??. I get the error : SQL_ERROR - [SAP AG][SQLOD32 DLL][SAP DB] General error;-7008 POS(162) Updates of this table not allowed (errcode -7008, sql state "HY000") Changing the count(*) to column name executes as expected. Is there any workaround to this?? Regards, Ajit P.S:I?m using the latest 7.4 odbc driver.
|
|
 |