virtual bool COSession::ExecuteSQL(LPCOLESTR strSQL);

Return Value

        true if successful; otherwise false.

Parameter

        [in] strSQL:

                A unicode string of a statement. Typically, it is a SQL statement.

Remark

        Calls this function to execute a statement. To be successful, An OLEDB provider must support TCommand object. For how to use it, see the example MkTbls.

COSession Class Overview & Class Members