Table 4.702. Database Driver Constants in the SQL Namespace
Constant | Description |
---|---|
| Indicates an Oracle database to Datasource::constructor() and DatasourcePool::constructor() |
| Indicates a MySQL database to Datasource::constructor() and DatasourcePool::constructor() |
| Indicates a PostgreSQL database to Datasource::constructor() and DatasourcePool::constructor() |
| Indicates a Sybase database to Datasource::constructor() and DatasourcePool::constructor() |
| Indicates a Microsoft SQL Server database to Datasource::constructor() and DatasourcePool::constructor() |
Table 4.703. Placeholder Bind Constants in the SQL Namespace
Constant | Description |
---|---|
SQL::VARCHAR | Indicates that the placeholder buffer should be a string buffer |
SQL::CLOB | Indicates that the placeholder buffer should be a CLOB string buffer. |
SQL::BLOB | Indicates that the placeholder buffer should be a binary buffer. |
SQL::DATE | Indicates that the placeholder buffer should be a date-time buffer. |
Table 4.704. DBI Capability Constant Codes in the SQL Namespace
Constant | Description |
---|---|
SQL::DBI_CAP_CHARSET_SUPPORT | Indicates that the DBI driver supports proper character encoding conversions. |
SQL::DBI_CAP_TRANSACTION_MANAGEMENT | Indicates that the DBI driver supports transaction management. |
SQL::DBI_CAP_STORED_PROCEDURES | Indicates that the DBI driver supports stored procedure execution. |
SQL::DBI_CAP_LOB_SUPPORT | Indicates that the DBI driver supports *LOB columns. |
SQL::DBI_CAP_BIND_BY_VALUE | Indicates that the DBI driver supports directly binding qore values into queries using the %v placeholder in the query string. |
SQL::DBI_CAP_BIND_BY_PLACEHOLDER | Indicates that the DBI driver supports binding placeholder buffers when executing SQL to retrieve data from queries and procedures, etc. |