IBM Books

Call Level Interface Guide and Reference


Appendix E. SQLSTATE Cross Reference

This table is a cross-reference of all the SQLSTATEs listed in the Diagnostics section of each function description in Chapter 5. "Functions".
Note:DB2 CLI may also return SQLSTATEs generated by the server that are not listed in this table. If the returned SQLSTATE is not listed here, refer to the documentation for the server for additional SQLSTATE information.

Table 196. SQLSTATE Cross Reference
SQLSTATE Description Functions
01000 Warning.
  • SQLAllocHandle()
  • SQLBrowseConnect()
  • SQLCloseCursor()
  • SQLColAttribute()
  • SQLCopyDesc()
  • SQLEndTran()
  • SQLFetchScroll()
  • SQLFreeHandle()
  • SQLGetConnectAttr()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetStmtAttr()
  • SQLSetConnectAttr()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetPos()
  • SQLSetStmtAttr()

01002 Disconnect error.
  • SQLDisconnect()

01004 Data truncated.
  • SQLBrowseConnect()
  • SQLColAttribute()
  • SQLDataSources()
  • SQLDescribeCol()
  • SQLDriverConnect()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetConnectAttr()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetInfo()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLNativeSql()
  • SQLPutData()

01504 The UPDATE or DELETE statement does not include a WHERE clause.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

01508 Statement disqualified for blocking.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

01S00 Invalid connection string attribute.
  • SQLBrowseConnect()
  • SQLDriverConnect()

01S01 Error in row.
  • SQLExtendedFetch()
  • SQLFetchScroll()
  • SQLSetPos()

01S02 Option value changed.
  • SQLBrowseConnect()
  • SQLSetConnectAttr()
  • SQLSetDescField()
  • SQLSetStmtAttr()

01S06 Attempt to fetch before the result set returned the first rowset.
  • SQLFetchScroll()

01S07 Fractional truncation.
  • SQLFetchScroll()
  • SQLSetPos()

07001 Wrong number of parameters.
  • SQLExecDirect()
  • SQLExecute()

07002 Too many columns.
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()

07005 The statement did not return a result set.
  • SQLColAttribute()
  • SQLDescribeCol()

07006 Invalid conversion.
  • SQLBindParameter()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetData()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetSubString()
  • SQLParamData()
  • SQLSetPos()

07009 Invalid descriptor index
  • SQLBindCol()
  • SQLColAttribute()
  • SQLDescribeCol()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetPos()

08001 Unable to connect to data source.
  • SQLBrowseConnect()
  • SQLConnect()

08002 Connection in use.
  • SQLBrowseConnect()
  • SQLConnect()
  • SQLSetConnectAttr()

08003 Connection is closed.
  • SQLAllocHandle()
  • SQLDisconnect()
  • SQLEndTran()
  • SQLGetConnectAttr()
  • SQLGetInfo()
  • SQLNativeSql()
  • SQLSetConnectAttr()
  • SQLSetConnection()
  • SQLTransact()
  • SQLTransact()

08004 The application server rejected establishment of the connection.
  • SQLBrowseConnect()
  • SQLConnect()

08007 Connection failure during transaction.
  • SQLEndTran()
  • SQLTransact()
  • SQLTransact()

08S01 Communication link failure.
  • SQLBrowseConnect()
  • SQLCopyDesc()
  • SQLFetchScroll()
  • SQLFreeHandle()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLSetConnectAttr()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetStmtAttr()

0F001 The LOB token variable does not currently represent any value.
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetSubString()

21S01 Insert value list does not match column list.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

21S02 Degrees of derived table does not match column list.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()
  • SQLSetPos()

22001 String data right truncation.
  • SQLExecDirect()
  • SQLExecute()
  • SQLFetchScroll()
  • SQLPutData()
  • SQLSetPos()

22002 Invalid output or indicator buffer specified.
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetData()

22003 Numeric value out of range.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetData()
  • SQLPutData()
  • SQLSetPos()

22005 Error in assignment.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLGetData()
  • SQLPutData()

22007 Invalid datetime format.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLGetData()
  • SQLPutData()
  • SQLSetPos()

22008 Datetime field overflow.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLGetData()

22011 A substring error occurred.
  • SQLGetSubString()

22012 Division by zero is invalid.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()

22015 Interval field overflow
  • SQLSetPos()

22018 Invalid character value for cast specification.
  • SQLFetchScroll()
  • SQLPrepare()

22019 Invalid escape character
  • SQLPrepare()

22025 Invalid escape sequence
  • SQLPrepare()

22026 String data, length mismatch
  • SQLParamData()

23000 Integrity constraint violation.
  • SQLExecDirect()
  • SQLExecute()

24000 Invalid cursor state.
  • SQLCloseCursor()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLForeignKeys()
  • SQLGetData()
  • SQLGetStmtAttr()
  • SQLGetTypeInfo()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLSetConnectAttr()
  • SQLSetPos()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

24504 The cursor identified in the UPDATE, DELETE, SET, or GET statement is not positioned on a row.
  • SQLExecDirect()
  • SQLExecute()

25000 25501 Invalid transaction state.
  • SQLDisconnect()

25501 Invalid transaction state.
  • SQLDisconnect()

28000 Invalid authorization specification.
  • SQLBrowseConnect()
  • SQLConnect()

34000 Invalid cursor name.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()
  • SQLSetCursorName()

37000 Invalid SQL syntax.
  • SQLNativeSql()

37xxx Invalid SQL syntax.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

40001 Serialization failure
  • SQLColumnPrivileges()
  • SQLEndTran()
  • SQLExecDirect()
  • SQLExecute()
  • SQLFetchScroll()
  • SQLParamData()
  • SQLPrepare()

40003 08S01 Communication link failure.
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLCancel()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLDescribeCol()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLForeignKeys()
  • SQLFreeStmt()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetFunctions()
  • SQLGetInfo()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetSubString()
  • SQLGetTypeInfo()
  • SQLMoreResults()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLParamOptions()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLRowCount()
  • SQLSetCursorName()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

42000 Syntax error or access violation
  • SQLSetPos()

42601 PARMLIST syntax error.
  • SQLProcedureColumns()

42818 The operands of an operator or function are not compatible.
  • SQLGetPosition()

42895 The value of a host variable in the EXECUTE or OPEN statement cannot be used because of its data type.
  • SQLExecDirect()
  • SQLExecute()

428A1 Unable to access a file referenced by a host file variable.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()

42xxx Syntax Error or Access Rule Violation.
  • SQLPrepare()

42xxx Syntax Error or Access Rule Violation.
  • SQLExecDirect()
  • SQLExecute()

44000 Integrity constraint violation.
  • SQLExecDirect()
  • SQLExecute()
  • SQLSetPos()

54028 The maximum number of concurrent LOB handles has been reached.
  • SQLExtendedFetch()
  • SQLFetch()

56084 LOB data is not supported in DRDA.
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()

58004 Unexpected system failure.
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLConnect()
  • SQLDataSources()
  • SQLDescribeCol()
  • SQLDisconnect()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFreeConnect()
  • SQLFreeEnv()
  • SQLFreeStmt()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetFunctions()
  • SQLGetInfo()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetSubString()
  • SQLMoreResults()
  • SQLNumResultCols()
  • SQLPrepare()
  • SQLRowCount()
  • SQLSetCursorName()
  • SQLTransact()
  • SQLTransact()

HY000 General error.
  • SQLAllocHandle()
  • SQLBrowseConnect()
  • SQLCloseCursor()
  • SQLColAttribute()
  • SQLCopyDesc()
  • SQLDataSources()
  • SQLDriverConnect()
  • SQLEndTran()
  • SQLFetchScroll()
  • SQLFreeHandle()
  • SQLGetConnectAttr()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetStmtAttr()
  • SQLParamData()
  • SQLSetConnectAttr()
  • SQLSetConnection()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetPos()
  • SQLSetStmtAttr()

HY001 Memory allocation failure.
  • SQLAllocHandle()
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLBrowseConnect()
  • SQLCancel()
  • SQLCloseCursor()
  • SQLColAttribute()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLConnect()
  • SQLCopyDesc()
  • SQLDataSources()
  • SQLDescribeCol()
  • SQLDisconnect()
  • SQLEndTran()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLForeignKeys()
  • SQLFreeConnect()
  • SQLFreeEnv()
  • SQLFreeHandle()
  • SQLFreeStmt()
  • SQLGetConnectAttr()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetEnvAttr()
  • SQLGetFunctions()
  • SQLGetInfo()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLGetTypeInfo()

HY001 Memory allocation failure. (continued)
  • SQLMoreResults()
  • SQLNativeSql()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLParamOptions()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLRowCount()
  • SQLSetConnectAttr()
  • SQLSetCursorName()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetPos()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()
  • SQLTransact()
  • SQLTransact()

HY002 Invalid column number.
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLDescribeCol()
  • SQLGetData()

HY003 Program type out of range.
  • SQLBindCol()
  • SQLBindParameter()
  • SQLGetData()
  • SQLGetLength()
  • SQLGetSubString()

HY004 SQL data type out of range.
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLGetTypeInfo()

HY007 Associated statement is not prepared.
  • SQLCopyDesc()
  • SQLGetDescField()
  • SQLGetDescRec()

HY008 Operation was cancelled
  • SQLColAttribute()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLDescribeCol()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLSetPos()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HY009 Invalid argument value.
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLColumnPrivileges()
  • SQLConnect()
  • SQLExecDirect()
  • SQLForeignKeys()
  • SQLGetData()
  • SQLGetFunctions()
  • SQLGetInfo()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetSubString()
  • SQLNativeSql()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLPrepare()
  • SQLPutData()
  • SQLSetConnectAttr()
  • SQLSetCursorName()
  • SQLSetDescField()
  • SQLSetEnvAttr()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HY010 Function sequence error.
  • SQLAllocHandle()
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLCloseCursor()
  • SQLColAttribute()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLCopyDesc()
  • SQLDescribeCol()
  • SQLDisconnect()
  • SQLEndTran()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLForeignKeys()
  • SQLFreeConnect()
  • SQLFreeEnv()
  • SQLFreeHandle()
  • SQLFreeStmt()
  • SQLGetConnectAttr()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetFunctions()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLGetTypeInfo()
  • SQLMoreResults()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLParamOptions()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLRowCount()
  • SQLSetConnectAttr()
  • SQLSetCursorName()
  • SQLSetDescField()
  • SQLSetDescRec()
  • SQLSetPos()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HY011 Operation invalid at this time.
  • SQLSetConnectAttr()
  • SQLSetEnvAttr()
  • SQLSetPos()
  • SQLSetStmtAttr()

HY012 Invalid transaction code.
  • SQLEndTran()
  • SQLTransact()
  • SQLTransact()

HY013 Unexpected memory handling error.
  • SQLAllocHandle()
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLBrowseConnect()
  • SQLCancel()
  • SQLCloseCursor()
  • SQLConnect()
  • SQLDataSources()
  • SQLDescribeCol()
  • SQLDisconnect()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFreeConnect()
  • SQLFreeEnv()
  • SQLFreeHandle()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetDescField()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLGetFunctions()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLMoreResults()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLPrepare()
  • SQLRowCount()
  • SQLSetCursorName()
  • SQLSetDescRec()
  • SQLTransact()
  • SQLTransact()

HY014 No more handles.
  • SQLAllocHandle()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLExecDirect()
  • SQLExecute()
  • SQLForeignKeys()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HY016 Cannot modify an implementation row descriptor.
  • SQLCopyDesc()
  • SQLSetDescField()
  • SQLSetDescRec()

HY017 Invalid use of an automatically allocated descriptor handle.
  • SQLFreeHandle()
  • SQLSetStmtAttr()

HY018 Server declined cancel request
  • SQLCancel()

HY021 Inconsistent descriptor information
  • SQLBindParameter()
  • SQLCopyDesc()
  • SQLGetDescField()
  • SQLSetDescField()
  • SQLSetDescRec()

HY024 Invalid attribute value.
  • SQLSetConnectAttr()
  • SQLSetEnvAttr()
  • SQLSetStmtAttr()

HY090 Invalid string or buffer length.
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLBrowseConnect()
  • SQLColAttribute()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLConnect()
  • SQLDataSources()
  • SQLDescribeCol()
  • SQLDriverConnect()
  • SQLExecDirect()
  • SQLForeignKeys()
  • SQLGetConnectAttr()
  • SQLGetCursorName()
  • SQLGetData()
  • SQLGetDescField()
  • SQLGetInfo()
  • SQLGetPosition()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLNativeSql()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLSetConnectAttr()
  • SQLSetCursorName()
  • SQLSetEnvAttr()
  • SQLSetPos()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HY091 Descriptor type out of range.
  • SQLColAttribute()
  • SQLGetDescField()
  • SQLSetDescField()

HY092 Option type out of range.
  • SQLAllocHandle()
  • SQLCopyDesc()
  • SQLEndTran()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFreeStmt()
  • SQLGetConnectAttr()
  • SQLGetEnvAttr()
  • SQLGetStmtAttr()
  • SQLParamData()
  • SQLSetConnectAttr()
  • SQLSetDescField()
  • SQLSetEnvAttr()
  • SQLSetPos()
  • SQLSetStmtAttr()

HY093 Invalid parameter number.
  • SQLBindFileToParam()
  • SQLBindParameter()

HY094 Invalid scale value.
  • SQLBindParameter()

HY096 Information type out of range.
  • SQLGetInfo()

HY097 Column type out of range.
  • SQLSpecialColumns()

HY098 Scope type out of range.
  • SQLSpecialColumns()

HY099 Nullable type out of range.
  • SQLSpecialColumns()

HY100 Uniqueness option type out of range.
  • SQLStatistics()

HY101 Accuracy option type out of range.
  • SQLStatistics()

HY103 Direction option out of range.
  • SQLDataSources()

HY104 Invalid precision value.
  • SQLBindParameter()

HY105 Invalid parameter type.
  • SQLBindParameter()
  • SQLSetDescField()

HY106 Fetch type out of range.
  • SQLExtendedFetch()
  • SQLFetchScroll()

HY107 Row value out of range.
  • SQLFetchScroll()
  • SQLParamOptions()
  • SQLSetPos()

HY109 Invalid cursor position.
  • SQLGetStmtAttr()
  • SQLSetPos()

HY110 Invalid driver completion.
  • SQLDriverConnect()

HY111 Invalid bookmark value.
  • SQLFetchScroll()

HY501 Invalid data source name.
  • SQLConnect()

HY503 Invalid file name length.
  • SQLExecDirect()
  • SQLExecute()

HY506 Error closing a file.
  • SQLCancel()
  • SQLFreeStmt()
  • SQLParamData()

HY509 Error deleting a file.
  • SQLParamData()

HYC00 Driver not capable.
  • SQLAllocHandle()
  • SQLBindCol()
  • SQLBindFileToCol()
  • SQLBindFileToParam()
  • SQLBindParameter()
  • SQLColAttribute()
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLDescribeCol()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLFetchScroll()
  • SQLForeignKeys()
  • SQLGetConnectAttr()
  • SQLGetData()
  • SQLGetInfo()
  • SQLGetLength()
  • SQLGetPosition()
  • SQLGetStmtAttr()
  • SQLGetSubString()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLSetConnectAttr()
  • SQLSetEnvAttr()
  • SQLSetPos()
  • SQLSetStmtAttr()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

HYT00 Timeout expired.
  • SQLColumnPrivileges()
  • SQLColumns()
  • SQLConnect()
  • SQLDescribeCol()
  • SQLExecDirect()
  • SQLExecute()
  • SQLExtendedFetch()
  • SQLFetch()
  • SQLForeignKeys()
  • SQLGetData()
  • SQLGetTypeInfo()
  • SQLMoreResults()
  • SQLNumParams()
  • SQLNumResultCols()
  • SQLParamData()
  • SQLPrepare()
  • SQLPrimaryKeys()
  • SQLProcedureColumns()
  • SQLProcedures()
  • SQLPutData()
  • SQLSetPos()
  • SQLSpecialColumns()
  • SQLStatistics()
  • SQLTablePrivileges()
  • SQLTables()

S0001 Database object already exists.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

S0002 Database object does not exist.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

S0011 Index already exists.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

S0012 Index not found.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

S0021 Column already exists.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()

S0022 Column not found.
  • SQLExecDirect()
  • SQLExecute()
  • SQLPrepare()


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]