Module: IBM_DB
- Defined in:
- ext/ibm_db.c
Defined Under Namespace
Classes: ClientInfo, Connection, PConnection, RowObject, ServerInfo, Statement
Constant Summary collapse
- BINARY =
Specifies that binary data shall be converted to a hexadecimal encoding and returned as an ASCII string
INT2NUM(1)
- CONVERT =
Specifies that binary data shall be converted to a hexadecimal encoding and returned as an ASCII string
INT2NUM(2)
- PASSTHRU =
Specifies that binary data shall be converted to a NULL value
INT2NUM(3)
- PARAM_FILE =
Specifies that the column should be bound directly to a file for input
INT2NUM(11)
- ATTR_CASE =
Specifies the column names case attribute ATTENTION this number is not currently in CLI but used for ibm_db purpose only
INT2NUM(ATTR_CASE)
- CASE_NATURAL =
Specifies that column names will be returned in their natural case
INT2NUM(0)
- CASE_LOWER =
Specifies that column names will be returned in lower case
INT2NUM(1)
- CASE_UPPER =
Specifies that column names will be returned in upper case
INT2NUM(2)
- SQL_ATTR_CURSOR_TYPE =
Specifies the cursor type
INT2NUM(SQL_ATTR_CURSOR_TYPE)
- SQL_CURSOR_DYNAMIC =
Cursor type that detects all changes to the result set ATTENTION Only supported when using DB2 for z/OS Version 8.1 and later.
INT2NUM(SQL_CURSOR_DYNAMIC)
- SQL_CURSOR_FORWARD_ONLY =
Cursor type that only scrolls forward. This is the default
INT2NUM(SQL_CURSOR_FORWARD_ONLY)
- SQL_CURSOR_KEYSET_DRIVEN =
Cursor type is a pure keyset cursor
INT2NUM(SQL_CURSOR_KEYSET_DRIVEN)
- SQL_SCROLL_FORWARD_ONLY =
Cursor type that only scrolls forward
INT2NUM(SQL_SCROLL_FORWARD_ONLY)
- SQL_CURSOR_STATIC =
Cursor type in which the data in the result set is static
INT2NUM(SQL_CURSOR_STATIC)
- SQL_PARAM_INPUT =
Parmater binding type of input
INT2NUM(SQL_PARAM_INPUT)
- SQL_PARAM_OUTPUT =
Parmater binding type of output
INT2NUM(SQL_PARAM_OUTPUT)
- SQL_PARAM_INPUT_OUTPUT =
Parmater binding type of input/output
INT2NUM(SQL_PARAM_INPUT_OUTPUT)
- SQL_BINARY =
Data type used to specify binary data
INT2NUM(SQL_BINARY)
- SQL_BIGINT =
Data type used to specify bigint data
INT2NUM(SQL_BIGINT)
- SQL_LONG =
Data type used to specify long data
INT2NUM(SQL_INTEGER)
- SQL_DOUBLE =
Data type used to specify double data
INT2NUM(SQL_DOUBLE)
- SQL_CHAR =
Data type used to specify char data
INT2NUM(SQL_CHAR)
- SQL_WCHAR =
INT2NUM(SQL_WCHAR)
- SQL_XML =
Data type used to specify XML data
INT2NUM(SQL_XML)
- SQL_VARCHAR =
Data type used to specify VARCHAR data
INT2NUM(SQL_VARCHAR)
- SQL_WVARCHAR =
INT2NUM(SQL_WVARCHAR)
- SQL_AUTOCOMMIT_OFF =
Operates in auto-commit mode off. The application must manually commit or rollback transactions
INT2NUM(SQL_AUTOCOMMIT_OFF)
- SQL_AUTOCOMMIT_ON =
Operates in auto-commit mode on. This is the default
INT2NUM(SQL_AUTOCOMMIT_ON)
- SQL_ATTR_AUTOCOMMIT =
Specifies whether to use auto-commit or manual commit mode
INT2NUM(SQL_ATTR_AUTOCOMMIT)
- SQL_TRUE =
Specifies whether to enable trusted context mode
INT2NUM(SQL_TRUE)
- SQL_ATTR_USE_TRUSTED_CONTEXT =
Specifies whether to enable trusted context mode
INT2NUM(SQL_ATTR_USE_TRUSTED_CONTEXT)
- SQL_ATTR_TRUSTED_CONTEXT_USERID =
Specifies whether to siwtch trusted user
INT2NUM(SQL_ATTR_TRUSTED_CONTEXT_USERID)
- SQL_ATTR_TRUSTED_CONTEXT_PASSWORD =
Specifies when trusted user is specified
INT2NUM(SQL_ATTR_TRUSTED_CONTEXT_PASSWORD)
- SQL_ATTR_INFO_USERID =
String used to identify the client user ID sent to the host database
INT2NUM(SQL_ATTR_INFO_USERID)
- SQL_ATTR_INFO_WRKSTNNAME =
String used to identify the client workstation name sent to the host database
INT2NUM(SQL_ATTR_INFO_WRKSTNNAME)
- SQL_ATTR_INFO_APPLNAME =
String used to identify the client application name sent to the host database
INT2NUM(SQL_ATTR_INFO_APPLNAME)
- SQL_ATTR_INFO_ACCTSTR =
String used to identify the client accounting string sent to the host database
INT2NUM(SQL_ATTR_INFO_ACCTSTR)
- SQL_ATTR_ROWCOUNT_PREFETCH =
Enabling Prefetching of Rowcount - Available from V95FP3 onwards
INT2NUM(SQL_ATTR_ROWCOUNT_PREFETCH)
- SQL_ROWCOUNT_PREFETCH_ON =
INT2NUM(SQL_ROWCOUNT_PREFETCH_ON)
- SQL_ROWCOUNT_PREFETCH_OFF =
INT2NUM(SQL_ROWCOUNT_PREFETCH_OFF)
- DB_CONN =
Specifies resource Type passed is Connection Handle, for retrieving error message
INT2NUM(DB_CONN)
- DB_STMT =
Specifies resource Type passed is Statement Handle, for retrieving error message
INT2NUM(DB_STMT)
- QUOTED_LITERAL_REPLACEMENT_ON =
Specifies Quoted Literal replacement connection attribute is to be set
INT2NUM(SET_QUOTED_LITERAL_REPLACEMENT_ON)
- QUOTED_LITERAL_REPLACEMENT_OFF =
Specifies Quoted Literal replacement connection attribute should not be set
INT2NUM(SET_QUOTED_LITERAL_REPLACEMENT_OFF)
- VERSION =
Specfies the version of the driver
rb_str_new2(MODULE_RELEASE)
Class Method Summary collapse
- .active ⇒ Object
- .autocommit ⇒ Object
- .bind_param ⇒ Object
- .client_info ⇒ Object
- .close ⇒ Object
- .column_privileges ⇒ Object
- .columnprivileges ⇒ Object
- .columns ⇒ Object
- .commit ⇒ Object
- .conn_error ⇒ Object
- .conn_errormsg ⇒ Object
- .connect ⇒ Object
- .createDB ⇒ Object
- .createDBNX ⇒ Object
- .cursor_type ⇒ Object
- .dropDB ⇒ Object
- .exec ⇒ Object
- .execute ⇒ Object
- .fetch_array ⇒ Object
- .fetch_assoc ⇒ Object
- .fetch_both ⇒ Object
- .fetch_object ⇒ Object
- .fetch_row ⇒ Object
- .field_display_size ⇒ Object
- .field_name ⇒ Object
- .field_num ⇒ Object
- .field_precision ⇒ Object
- .field_scale ⇒ Object
- .field_type ⇒ Object
- .field_width ⇒ Object
- .foreign_keys ⇒ Object
- .foreignkeys ⇒ Object
- .free_result ⇒ Object
- .free_stmt ⇒ Object
- .get_last_serial_value ⇒ Object
- .get_option ⇒ Object
- .getErrormsg ⇒ Object
- .getErrorstate ⇒ Object
- .getoption ⇒ Object
- .next_result ⇒ Object
- .num_fields ⇒ Object
- .num_rows ⇒ Object
- .pconnect ⇒ Object
- .prepare ⇒ Object
- .primary_keys ⇒ Object
- .primarykeys ⇒ Object
- .procedure_columns ⇒ Object
- .procedurecolumns ⇒ Object
- .procedures ⇒ Object
- .result ⇒ Object
- .resultCols ⇒ Object
- .rollback ⇒ Object
- .server_info ⇒ Object
- .set_option ⇒ Object
- .setoption ⇒ Object
- .special_columns ⇒ Object
- .specialcolumns ⇒ Object
- .statistics ⇒ Object
- .stmt_error ⇒ Object
- .stmt_errormsg ⇒ Object
- .table_privileges ⇒ Object
- .tableprivileges ⇒ Object
- .tables ⇒ Object