Hi Ajit

> -----Original Message-----
> From: ajit_cus [mailto:ajit_cus@;infosys.com]

>  I'm having a problem with SQLPrepare throwing an error the code is:
> SQLRETURN ret = SQLPrepare(m_stmt, (SQLCHAR *)stmt,           

> I get the following error:
> SQL_ERROR - [SAP AG][SQLOD32 DLL][SAP DB]General error;-7008
>  POS(100) Updates of this table not allowed. (errcode -7008, 
> sql state "S1000")

On Oct 10 I wrote to the list:


How did you set the SQLSetStmtAttr (SQL_ATTR_CONCURRENCY)?
 
If you set it to SQL_CONCUR_READ_ONLY, the error should
not appear, i.e. the "FOR UPDATE" will not
be added to the statement.
 
 
Regards  Thomas

----------------------------------------------
Dr. Thomas K�tter
SAP DB, SAP Labs Berlin


SAP DB is open source. Get it!    www.sapdb.org 


 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to