sqlrtypes.h File Reference

Header for RDM ODBC Level-1 types. More...

#include "sqltypes.h"#include "rdmrowidtypes.h"#include "rdmbcdtypes.h"
Include dependency graph for sqlrtypes.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct RDM_TIMETZ_STRUCT
struct RDM_TIMESTAMPTZ_STRUCT

Macros

#define SQL_EMPSTR ((SQLCHAR *) "")
#define SQL_EMPWSTR ((SQLWCHAR *) L"")
#define SQL_EMPTSTR ((SQLTCHAR *) RDM_T(""))
#define SQL_TCHARSQL_CHAR
#define SQL_TVARCHARSQL_VARCHAR
#define SQL_TLONGVARCHARSQL_LONGVARCHAR
#define SQL_ROWID -100
#define SQL_C_ROWIDSQL_ROWID
#define SQL_RDM_TIMETZ (-154)
#define SQL_RDM_TIMESTAMPTZ (-155)
#define SQL_C_RDM_TIMETZSQL_RDM_TIMETZ
#define SQL_C_RDM_TIMESTAMPTZSQL_RDM_TIMESTAMPTZ
#define SQL_RDM_DEF_PRECISION 32
#define SQL_RDM_DEF_SCALE 0
#define SQL_INIT 5
#define SQL_MODE_EXCLUSIVE 2
#define SQL_ATTR_RDM_CAT_BUFFER 401 /* SetCatalog */
#define SQL_ATTR_RDM_CAT_FILE 402 /* SetCatalogFromFile */
#define SQL_ATTR_RDM_CONN_TYPE 403 /* local or remote connection */
#define SQL_ATTR_RDM_ENCRYPT 404 /* encryption context set/get */
#define SQL_ATTR_RDM_REMOTE_NAME 405
#define SQL_ATTR_RDM_REMOTE_TYPE 406
#define SQL_ATTR_RDM_SQL_OPTIONS 407
#define SQL_ATTR_RDM_TFS_HANDLE 408 /* TFS handle */
#define SQL_ATTR_RDM_TFS_NAME 409
#define SQL_ATTR_RDM_TFS_OPTIONS 410 /* TFS initialization options */
#define SQL_ATTR_RDM_TFS_VERSION 411
#define SQL_ATTR_RDM_USE_CATALOG 412
#define SQL_ATTR_RDM_LOCALE 413
#define SQL_ATTR_RDM_OPTIMIZE_PARAMETERS 414 /* optimize param'd query */
#define SQL_ATTR_RDM_UNICODE_MODE 415 /* Enabled core-level Unicode support */
#define SQL_ATTR_RDM_ROUNDING_MODE 416
#define SQL_ATTR_RDM_STORAGE_MEDIA 417
#define SQL_ATTR_RDM_PACK_WRITE_CHUNK_SIZE 501 /* RDM_OPT_PACK_WRITE_CHUNK_SIZE */
Pack-related options. More...
#define SQL_ATTR_RDM_PACK_FILE_SIZE 502 /* RDM_OPT_PACK_FILE_SIZE_MAX */
#define SQL_ATTR_RDM_DB_SIZE 503 /* RDM_OPT_DB_SIZE_MAX */
#define SQL_ATTR_RDM_VACUUM_PERCENTAGE 504 /* RDM_OPT_VACUUM_PERCENTAGE */
#define SQL_ATTR_RDM_VACUUM_READ_CHUNK_SIZE 505 /* RDM_OPT_VACUUM_READ_CHUNK_SIZE */
#define SQL_ATTR_RDM_VACUUM_WRITE_CHUNK_SIZE 506 /* RDM_OPT_VACUUM_WRITE_CHUNK_SIZE */
#define SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD 507 /* RDM_OPT_IDINDEX_FLUSH_THRESHOLD */
#define SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD_ON_CLOSE 508 /* RDM_OPT_IDINDEX_FLUSH_THRESHOLD_ON_CLOSE */
#define SQL_ATTR_RDM_DURABILITY 509 /* RDM_OPT_DURABILITY */
#define SQL_RDM_UNSET ((SQLULEN) -1)
#define SQL_ATTR_RDM_FILE_LINE 501 /* logical line number */
#define SQL_ATTR_RDM_FILE_NAME 502 /* logical file name */
#define SQL_DIAG_RDM_FILE_NAME 1001
#define SQL_DIAG_RDM_FILE_LINE 1002
#define SQL_DIAG_RDM_FILE_COLUMN 1003
#define SQL_CT_LOCAL ((SQLULEN) CT_LOCAL)
#define SQL_CT_REMOTE ((SQLULEN) CT_REMOTE)
#define SQL_CT_UNKNOWN ((SQLULEN) CT_UNKNOWN)
#define SQL_ROUND_NEAREST_TIES_TO_EVEN ((SQLULEN) RDM_BCD_ROUND_NEAREST_TIES_TO_EVEN)
RDM specific SQL_ATTR_RDM_ROUNDING_MODE atrtibute values. More...
#define SQL_ROUND_NEAREST_TIES_AWAY_FROM_ZERO ((SQLULEN) RDM_BCD_ROUND_NEAREST_TIES_AWAY_FROM_ZERO)
#define SQL_ROUND_UP ((SQLULEN) RDM_BCD_ROUND_UP)
#define SQL_ROUND_DOWN ((SQLULEN) RDM_BCD_ROUND_DOWN)
#define SQL_ROUND_TOWARDS_ZERO ((SQLULEN) RDM_BCD_ROUND_TOWARDS_ZERO)

Typedefs

typedef RDM_ROWID_T SQLROWID

Enumerations

enum RDM_CONN_TYPE { CT_LOCAL = 0, CT_REMOTE, CT_UNKNOWN }
RDM specific connection type values. More...

Variables

const typedef void * SQLCPOINTER

Detailed Description

Header for RDM ODBC Level-1 types.

Macro Definition Documentation

SQL_ATTR_RDM_CAT_BUFFER

#define SQL_ATTR_RDM_CAT_BUFFER 401 /* SetCatalog */

SQL_ATTR_RDM_CAT_FILE

#define SQL_ATTR_RDM_CAT_FILE 402 /* SetCatalogFromFile */

SQL_ATTR_RDM_CONN_TYPE

#define SQL_ATTR_RDM_CONN_TYPE 403 /* local or remote connection */

SQL_ATTR_RDM_DB_SIZE

#define SQL_ATTR_RDM_DB_SIZE 503 /* RDM_OPT_DB_SIZE_MAX */

SQL_ATTR_RDM_DURABILITY

#define SQL_ATTR_RDM_DURABILITY 509 /* RDM_OPT_DURABILITY */

SQL_ATTR_RDM_ENCRYPT

#define SQL_ATTR_RDM_ENCRYPT 404 /* encryption context set/get */

SQL_ATTR_RDM_FILE_LINE

#define SQL_ATTR_RDM_FILE_LINE 501 /* logical line number */

SQL_ATTR_RDM_FILE_NAME

#define SQL_ATTR_RDM_FILE_NAME 502 /* logical file name */

SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD

#define SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD 507 /* RDM_OPT_IDINDEX_FLUSH_THRESHOLD */

SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD_ON_CLOSE

#define SQL_ATTR_RDM_IDINDEX_FLUSH_THRESHOLD_ON_CLOSE 508 /* RDM_OPT_IDINDEX_FLUSH_THRESHOLD_ON_CLOSE */

SQL_ATTR_RDM_LOCALE

#define SQL_ATTR_RDM_LOCALE 413

SQL_ATTR_RDM_OPTIMIZE_PARAMETERS

#define SQL_ATTR_RDM_OPTIMIZE_PARAMETERS 414 /* optimize param'd query */

SQL_ATTR_RDM_PACK_FILE_SIZE

#define SQL_ATTR_RDM_PACK_FILE_SIZE 502 /* RDM_OPT_PACK_FILE_SIZE_MAX */

SQL_ATTR_RDM_PACK_WRITE_CHUNK_SIZE

#define SQL_ATTR_RDM_PACK_WRITE_CHUNK_SIZE 501 /* RDM_OPT_PACK_WRITE_CHUNK_SIZE */

Pack-related options.

SQL_ATTR_RDM_REMOTE_NAME

#define SQL_ATTR_RDM_REMOTE_NAME 405

SQL_ATTR_RDM_REMOTE_TYPE

#define SQL_ATTR_RDM_REMOTE_TYPE 406

SQL_ATTR_RDM_ROUNDING_MODE

#define SQL_ATTR_RDM_ROUNDING_MODE 416

SQL_ATTR_RDM_SQL_OPTIONS

#define SQL_ATTR_RDM_SQL_OPTIONS 407

SQL_ATTR_RDM_STORAGE_MEDIA

#define SQL_ATTR_RDM_STORAGE_MEDIA 417

SQL_ATTR_RDM_TFS_HANDLE

#define SQL_ATTR_RDM_TFS_HANDLE 408 /* TFS handle */

SQL_ATTR_RDM_TFS_NAME

#define SQL_ATTR_RDM_TFS_NAME 409

SQL_ATTR_RDM_TFS_OPTIONS

#define SQL_ATTR_RDM_TFS_OPTIONS 410 /* TFS initialization options */

SQL_ATTR_RDM_TFS_VERSION

#define SQL_ATTR_RDM_TFS_VERSION 411

SQL_ATTR_RDM_UNICODE_MODE

#define SQL_ATTR_RDM_UNICODE_MODE 415 /* Enabled core-level Unicode support */

SQL_ATTR_RDM_USE_CATALOG

#define SQL_ATTR_RDM_USE_CATALOG 412

SQL_ATTR_RDM_VACUUM_PERCENTAGE

#define SQL_ATTR_RDM_VACUUM_PERCENTAGE 504 /* RDM_OPT_VACUUM_PERCENTAGE */

SQL_ATTR_RDM_VACUUM_READ_CHUNK_SIZE

#define SQL_ATTR_RDM_VACUUM_READ_CHUNK_SIZE 505 /* RDM_OPT_VACUUM_READ_CHUNK_SIZE */

SQL_ATTR_RDM_VACUUM_WRITE_CHUNK_SIZE

#define SQL_ATTR_RDM_VACUUM_WRITE_CHUNK_SIZE 506 /* RDM_OPT_VACUUM_WRITE_CHUNK_SIZE */

SQL_C_RDM_TIMESTAMPTZ

#define SQL_C_RDM_TIMESTAMPTZ SQL_RDM_TIMESTAMPTZ

SQL_C_RDM_TIMETZ

#define SQL_C_RDM_TIMETZ SQL_RDM_TIMETZ

SQL_C_ROWID

#define SQL_C_ROWID SQL_ROWID

SQL_CT_LOCAL

#define SQL_CT_LOCAL ((SQLULEN) CT_LOCAL)

SQL_CT_REMOTE

#define SQL_CT_REMOTE ((SQLULEN) CT_REMOTE)

SQL_CT_UNKNOWN

#define SQL_CT_UNKNOWN ((SQLULEN) CT_UNKNOWN)

SQL_DIAG_RDM_FILE_COLUMN

#define SQL_DIAG_RDM_FILE_COLUMN 1003

SQL_DIAG_RDM_FILE_LINE

#define SQL_DIAG_RDM_FILE_LINE 1002

SQL_DIAG_RDM_FILE_NAME

#define SQL_DIAG_RDM_FILE_NAME 1001

SQL_EMPSTR

#define SQL_EMPSTR ((SQLCHAR *) "")

SQL_EMPTSTR

#define SQL_EMPTSTR ((SQLTCHAR *) RDM_T(""))

SQL_EMPWSTR

#define SQL_EMPWSTR ((SQLWCHAR *) L"")

SQL_INIT

#define SQL_INIT 5

SQL_MODE_EXCLUSIVE

#define SQL_MODE_EXCLUSIVE 2

SQL_RDM_DEF_PRECISION

#define SQL_RDM_DEF_PRECISION 32

SQL_RDM_DEF_SCALE

#define SQL_RDM_DEF_SCALE 0

SQL_RDM_TIMESTAMPTZ

#define SQL_RDM_TIMESTAMPTZ (-155)

SQL_RDM_TIMETZ

#define SQL_RDM_TIMETZ (-154)

SQL_RDM_UNSET

#define SQL_RDM_UNSET ((SQLULEN) -1)

SQL_ROUND_DOWN

#define SQL_ROUND_DOWN ((SQLULEN) RDM_BCD_ROUND_DOWN)

SQL_ROUND_NEAREST_TIES_AWAY_FROM_ZERO

#define SQL_ROUND_NEAREST_TIES_AWAY_FROM_ZERO ((SQLULEN) RDM_BCD_ROUND_NEAREST_TIES_AWAY_FROM_ZERO)

SQL_ROUND_NEAREST_TIES_TO_EVEN

#define SQL_ROUND_NEAREST_TIES_TO_EVEN ((SQLULEN) RDM_BCD_ROUND_NEAREST_TIES_TO_EVEN)

RDM specific SQL_ATTR_RDM_ROUNDING_MODE atrtibute values.

SQL_ROUND_TOWARDS_ZERO

#define SQL_ROUND_TOWARDS_ZERO ((SQLULEN) RDM_BCD_ROUND_TOWARDS_ZERO)

SQL_ROUND_UP

#define SQL_ROUND_UP ((SQLULEN) RDM_BCD_ROUND_UP)

SQL_ROWID

#define SQL_ROWID -100

SQL_TCHAR

#define SQL_TCHAR SQL_CHAR

SQL_TLONGVARCHAR

#define SQL_TLONGVARCHAR SQL_LONGVARCHAR

SQL_TVARCHAR

#define SQL_TVARCHAR SQL_VARCHAR

Typedef Documentation

SQLROWID

Enumeration Type Documentation

RDM_CONN_TYPE

RDM specific connection type values.

Enumerator
CT_LOCAL
CT_REMOTE
CT_UNKNOWN
170 {
171CT_LOCAL = 0,

Variable Documentation

SQLCPOINTER

const typedef void* SQLCPOINTER
@ CT_LOCAL
Definition: sqlrtypes.h:171
RDM_CONN_TYPE
RDM specific connection type values.
Definition: sqlrtypes.h:169
@ CT_UNKNOWN
Definition: sqlrtypes.h:173
@ CT_REMOTE
Definition: sqlrtypes.h:172