Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Difference between SQLExecute and SQLExecDirect

Hi All

This is not related to MaxDB but i am just trying to find if there is some similar concept existing in MaxDB.

I am investigating some C++ code written for working with DB2.

It has two kind of calls for executing SQL statements one is SQLExecute and the other is SQLExecDirect.

Since i am porting this appl for working with MaxDB i am interested to find out if there is something similar to this concept in SQLDBC/MaxDB.

I doubt if SQLDBC_Statement and SQLDBC_PrepareStatement call offers this variation.

Just as a note:

For Oracle : The implementation says there is not difference between the two concepts, hence same call to OCIStmtExecute works.

For MySQL: mysql_stmt_execute corresponds to SQLExecute and mysql_real_query corresponds to SQLExecDirect

Any help is deeply appreciated.



Former Member
Not what you were looking for? View more on this topic or Ask a question