分享方式:


SQLAllocStmt 對應

當應用程式透過 ODBC 3.x 驅動程式呼叫 SQLAllocStmt 時,呼叫:

SQLAllocStmt(hdbc, phstmt)  

由驅動程式中的驅動程式管理員對應至 SQLAllocHandle ,如下所示:

SQLAllocHandle(SQL_HANDLE_STMT, InputHandle, OutputHandlePtr)  

InputHandle 設定為 hdbc ,而 OutputHandlePtr 設定為 phstmt