Understanding SQLExecDirect

[This is preliminary documentation and subject to change.]

SQLExecDirect has two phases: SQLPrepare and SQLExecute. These are used when a particular SQL command is performed more than once. In adapters for traditional database management systems (DBMS), SQLPrepare allows for the creation of an access plan on the DBMS.