Skip to content

SQLExecDirect Command

SQLExecDirect

Obsolete

Refer to the SQLExecDirect method in the cSQLStatement class.

SQLExecDirect hstmt sStatement

The SQLExecDirect combines the SQLPrepare and SQLExecute into one command.

Open Customer
SQLFileConnect Customer To hdbc
SQLOpen hdbc To hstmt
SQLExecDirect hstmt "UPDATE CUSTOMER SET AccntMngr = 'John' WHERE AccntMngr = 'Mary'"