Declare Function sqlalloconnect Lib "odbc.dll" (ByVal henv As Long, phdbc As Long) As Integer
Declare Function sqlallocenv Lib "odbc.dll" (ByVal phenv As Long) As Integer
Declare Function SQLAllocStmt Lib "odbc.dll" (ByVal hdbc As Long, phstmt As Long) As Integer
Declare Function SQLBindCol Lib "odbc.dll" (ByVal hstmt As Long, ByVal icol As Integer, ByVal fCType As String, ByVal rgbValue As Any, ByVal cbValueMax As Long, pcbValue As Long) As Integer
Declare Function SQLCancel Lib "odbc.dll" (ByVal hstmt As Long) As Integer
Declare Function SQLColAttributes Lib "odbc.dll" (ByVal hstmt As Long, ByVal icol As Integer, ByVal fDescType As Integer, rgbDesc As Any, ByVal cbDescMax As Integer, pcbDesc%, pfDesc As Long) As Integer
Declare Function SQLConnect Lib "odbc.dll" (ByVal hdbc As Long, ByVal szDSN As String, ByVal cbDSN As Integer, ByVal szUID As String, ByVal cbUID As Integer, ByVal szAuthStr As String, ByVal cbAuthStr As Integer) As Integer
Declare Function SQLDescribeCol Lib "odbc.dll" (ByVal hstmt As Long, ByVal icol As Integer, ByVal szColName As String, ByVal cbColNameMax As Integer, pcbColName As Integer, pfSqlType As Integer, pcbColDef&, pibScal As Integer, pfNullable As Integer) As Integer
Declare Function SQLDisconnect Lib "odbc.dll" (ByVal hdbc As Long) As Integer
Declare Function SQLError Lib "odbc.dll" (ByVal henv As Long, ByVal hdbc As Long, ByVal hstmt As Long, ByVal szSqlState As String, pfNativeError As Long, ByVal szErrorMsg As String, ByVal cbErrorMsgMax As Integer, pcbErrorMsg As Integer) As Integer
Declare Function SQLExecDirect Lib "odbc.dll" (ByVal hstmt As Long, ByVal szSqlStr As String, ByVal cbSqlStr As Long) As Integer
Declare Function SQLExecute Lib "odbc.dll" (ByVal hstmt As Long) As Integer
Declare Function SQLFetch Lib "odbc.dll" (ByVal hstmt As Long) As Integer
Declare Function SQLFreeConnect Lib "odbc.dll" (ByVal hdbc As Long) As Integer
Declare Function SQLFreeEnv Lib "odbc.dll" (ByVal henv As Long) As Integer
Declare Function SQLFreeStmt Lib "odbc.dll" (ByVal hstmt As Long, ByVal fOption As Integer) As Integer
Declare Function SQLGetCursorName Lib "odbc.dll" (ByVal hstmt As Long, ByVal szCursor As String, ByVal cbCursorMax As Integer, pcbCursor As Integer) As Integer
Declare Function SQLNumResultCols Lib "odbc.dll" (ByVal hstmt As Long, pccol As Integer) As Integer
Declare Function SQLPrepare Lib "odbc.dll" (ByVal hstmt As Long, ByVal szSqlStr As String, ByVal cbSqlStr As Long) As Integer
Declare Function SQLRowCount Lib "odbc.dll" (ByVal hstmt As Long, pcrow As Long) As Integer
Declare Function SQLSetCursorName Lib "odbc.dll" (ByVal hstmt As Long, ByVal szCursor As String, ByVal cbCursor As Integer) As Integer
Declare Function SQLSetParam Lib "odbc.dll" (ByVal hstmt As Long, ByVal ipar As Integer, ByVal fCType As Integer, ByVal fSqlType As Integer, ByVal cbColDef As Long, ByVal ibScale As Integer, rgbValue As Any, pcbValue As Long) As Integer
Declare Function SQLTransact Lib "odbc.dll" (ByVal henv As Long, ByVal hdbc As Long, ByVal fType As Integer) As Integer