📄 resultconstants.java
字号:
// int SQLFREEENV = SQL_API_BASE + 15;//// /**// * Indicates that Result encapsulates a request to free a resource.// */// int SQLFREEHANDLE = SQL_API_BASE + 1006; /** * Indicates that Result encapsulates a request to deallocate an * SQL-statement. */ int SQLFREESTMT = SQL_API_BASE + 16;// /**// * Indicates that Result encapsulates a request to get the value of an// * SQL-connection attribute.// */// int SQLGETCONNECTATTR = SQL_API_BASE + 1007;//// /**// * Indicates that Result encapsulates a request to get a cursor name.// */// int SQLGETCURSORNAME = SQL_API_BASE + 17;//// /**// * Indicates that Result encapsulates a request to retrieve a column value.// */// int SQLGETDATA = SQL_API_BASE + 43;//// /**// * Indicates that Result encapsulates a request to get a field from a CLI// * descriptor area.// */// int SQLGETDESCFIELD = SQL_API_BASE + 1008;//// /**// * Indicates that Result encapsulates a request to get commonly-used// * fields from a CLI descriptor area.// */// int SQLGETDESCREC = SQL_API_BASE + 1009;//// /**// * Indicates that Result encapsulates a request to get information from a// * CLI diagnostics area.// */// int SQLGETDIAGFIELD = SQL_API_BASE + 1010;//// /** Indicates that Result encapsulates a request to get commonly-used// * information from a CLI diagnostics area.// */// int SQLGETDIAGREC = SQL_API_BASE + 1011;//// /**// * Indicates that Result encapsulates a request to get the value of an// * SQL-environment attribute.// */// int SQLGETENVATTR = SQL_API_BASE + 1012;//// /**// * Indicates that Result encapsulates a request to get information// * about features supported by the CLI implementation.// */// int SQLGETFEATUREINFO = SQL_API_BASE + 1027;//// /**// * Indicates that Result encapsulates a request to determine whether a CLI// * routine is supported.// */// int SQLGETFUNCTIONS = SQL_API_BASE + 44;//// /**// * Indicates that Result encapsulates a request to get information about// * the implementation.// */// int SQLGETINFO = SQL_API_BASE + 45;//// /**// * Indicates that Result encapsulates a request to retrieve the length of// * the character or octet string value represented by a Large Object// * locator.// */// int SQLGETLENGTH = SQL_API_BASE + 1022;//// /**// * Indicates that Result encapsulates a request to retrieve the value of a// * dynamic output parameter.// */// int SQLGETPARAMDATA = SQL_API_BASE + 1025;//// /**// * Indicates that Result encapsulates a request to retrieve the starting// * position of a string value within another string value, where the second// * string value is represented by a Large Object locator.// */// int SQLGETPOSITION = SQL_API_BASE + 1023;// /** * Indicates that Result encapsulates a request to get information about * general value specifications supported by the implementation. */// int SQLGETSESSIONINFO = SQL_API_BASE + 1028;// /**// * Indicates that Result encapsulates a request to get the value of an// * SQL-statement attribute.// */// int SQLGETSTMTATTR = SQL_API_BASE + 1014;//// /**// * Indicates that Result encapsulates a request to either retrieve a// * portion of a character or octet string value that is represented by// * a Large Object locator or create a Large Object value at the server// * and retrieve a Large Object locator for that value.// */// int SQLGETSUBSTRING = SQL_API_BASE + 1024;//// /**// * Indicates that Result encapsulates a request to get information about// * one or all of the predefined data types supported by the implementation.// */// int SQLGETTYPEINFO = SQL_API_BASE + 47; /** * Indicates that Result encapsulates a request to determine whether there * are more result sets available on a statement handle and, if there are, * initialize processing for those result sets. */// int SQLMORERESULTS = SQL_API_BASE + 61; /** * Indicates that Result encapsulates a request to determine whether there * are more result sets available on a statement handle and, if there are, * initialize processing for the next result set on a separate statement * handle. */// int SQLNEXTRESULT = SQL_API_BASE + 73;// /**// * Indicates that Result encapsulates a request to get the number of// * result columns of a prepared or executed statement.// */// int SQLNUMRESULTCOLS = SQL_API_BASE + 18;// /**// * Indicates that Result encapsulates a request to process a deferred// * parameter value. For example, a streamed or locator identified// * parameter.// */// int SQLPARAMDATA = SQL_API_BASE + 48; /** * Indicates that Result encapsulates a request to prepare a statement. */ int SQLPREPARE = SQL_API_BASE + 19;// /**// * Indicates that Result encapsulates a request to return a result set that// * contains a list of the column names that comprise the primary key for a// * single specified table stored in the information schemas of the// * connected data source.// */// int SQLPRIMARYKEYS = SQL_API_BASE + 65;//// /**// * Indicates that Result encapsulates a request to provide a deferred// * parameter value. For example, a streamed or locator-identified// * parameter.// */// int SQLPUTDATA = SQL_API_BASE + 49; /** * Indicates that Result encapsulates a request to get the row count of an * executed statement. */// int SQLROWCOUNT = SQL_API_BASE + 20; /** * Indicates that Result encapsulates a request to set the value of an * SQL-connection attribute. */ int SQLSETCONNECTATTR = SQL_API_BASE + 1016;//// /** Indicates that Result encapsulates a request to set a cursor name. */// int SQLSETCURSORNAME = SQL_API_BASE + 21;//// /**// * Indicates that Result encapsulates a request to set a field in a CLI// * descriptor area.// */// int SQLSETDESCFIELD = SQL_API_BASE + 1017;//// /**// * Indicates that Result encapsulates a request to set commonly-used// * fields in a CLI descriptor area.// */// int SQLSETDESCREC = SQL_API_BASE + 1018;// /** * Indicates that Result encapsulates a request to set the value of an * SQL-environment attribute. */// int SQLSETENVATTR = SQL_API_BASE + 1019;// /** Indicates that Result encapsulates a request to set the value of an// * SQL-statement attribute.// */// int SQLSETSTMTATTR = SQL_API_BASE + 1020;//// /**// * Indicates that Result encapsulates a request to return a result set that// * contains a list of columns the combined values of which can uniquely// * identify any row within a single specified table described by the// * Information Schemas of the connected data source.// */// int SQLSPECIALCOLUMNS = SQL_API_BASE + 52;// /** * Indicates that Result encapsulates a request to explicitly start an * SQL-transaction and set its characteristics. */ int SQLSTARTTRAN = SQL_API_BASE + 74;// /**// * Indicates that Result encapsulates a request to return a result set that// * contains a list of the privileges held on the tables whose names adhere// * to the requested pattern(s) within tables described by the Information// * Schemas of the connected data source.// */// int SQLTABLES = SQL_API_BASE + 54;//// /**// * Indicates that Result encapsulates a request to, based on the specified// * selection criteria, return a result set that contains information about// * tables described by the Information Schema of the connected data source.// */// int SQLTABLEPRIVILEGES = SQL_API_BASE + 70; /* Codes for transaction termination: COMMIT 0 ROLLBACK 1 SAVEPOINT NAME ROLLBACK 2 SAVEPOINT NAME RELEASE 4 COMMIT AND CHAIN 6 ROLLBACK AND CHAIN 7 Implementation-defined termination type <0 */ int COMMIT = 0; int ROLLBACK = 1; int SAVEPOINT_NAME_ROLLBACK = 2; int SAVEPOINT_NAME_RELEASE = 4; int COMMIT_AND_CHAIN = 6; int ROLLBACK_AND_CHAIN = 7;/* Environment attributes *///#define SQL_ATTR_OUTPUT_NTS 10001/* Connection attributes *///#define SQL_ATTR_AUTO_IPD 10001//#define SQL_ATTR_SAVEPOINT_NAME 10027 int SQL_ATTR_SAVEPOINT_NAME = 10027;// Batched execution constants: /** batch item failed */ int EXECUTE_FAILED = -3; /** * Batch item succeeded but does not generate an update count, * for example a call having no return value */ int SUCCESS_NO_INFO = -2;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -