sqltypes.h File Reference

Header for the Microsoft ODBC Level-1 types. More...

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

Data Structures

struct tagDATE_STRUCT
struct tagTIME_STRUCT
struct tagTIMESTAMP_STRUCT
struct tagSQL_YEAR_MONTH
struct tagSQL_DAY_SECOND
struct tagSQL_INTERVAL_STRUCT
struct tagSQL_NUMERIC_STRUCT
struct tagSQLGUID

Macros

#define ODBCVER 0x0351
#define SQL_API EXTERNAL_FCN
#define SQL_API_PTREXTERNAL_FCN_PTR
#define BOOL int32_t
#define SQLLENSQLINTEGER
#define SQLULENSQLUINTEGER
#define SQLSETPOSIROWSQLUSMALLINT
#define __SQLDATE
#define SQL_MAX_NUMERIC_LEN 16
#define ODBCINT64 int64_t
#define ODBCUINT64 uint64_t
#define RDBC_EXPORT

Typedefs

typedef signed char SCHAR
typedef SCHAR SQLSCHAR
typedef uint8_t SQLCHAR
typedef int16_t SQLSMALLINT
typedef uint16_t SQLUSMALLINT
typedef int32_t SQLINTEGER
typedef uint32_t SQLUINTEGER
typedef double SQLDOUBLE
typedef double SQLFLOAT
typedef uint8_t SQLNUMERIC
typedef float SQLREAL
typedef uint8_t SQLTIME
typedef uint8_t SQLTIMESTAMP
typedef uint8_t SQLVARCHAR
typedef void * SQLPOINTER
typedef int16_t SQLRETURN
typedef wchar_t SQLWCHAR
typedef SQLUINTEGER BOOKMARK
typedef HWND SQLHWND
typedef int16_t RETCODE
typedef struct tagDATE_STRUCT DATE_STRUCT
typedef DATE_STRUCT SQL_DATE_STRUCT
typedef struct tagTIME_STRUCT TIME_STRUCT
typedef TIME_STRUCT SQL_TIME_STRUCT
typedef struct tagTIMESTAMP_STRUCT TIMESTAMP_STRUCT
typedef TIMESTAMP_STRUCT SQL_TIMESTAMP_STRUCT
typedef struct tagSQL_YEAR_MONTH SQL_YEAR_MONTH_STRUCT
typedef struct tagSQL_DAY_SECOND SQL_DAY_SECOND_STRUCT
typedef struct tagSQL_INTERVAL_STRUCT SQL_INTERVAL_STRUCT
typedef struct tagSQL_NUMERIC_STRUCT SQL_NUMERIC_STRUCT
typedef int64_t SQLBIGINT
typedef uint64_t SQLUBIGINT
typedef struct tagSQLGUID SQLGUID

Enumerations

enum SQLINTERVAL { SQL_IS_YEAR = 1, SQL_IS_MONTH = 2, SQL_IS_DAY = 3, SQL_IS_HOUR = 4, SQL_IS_MINUTE = 5, SQL_IS_SECOND = 6, SQL_IS_YEAR_TO_MONTH = 7, SQL_IS_DAY_TO_HOUR = 8, SQL_IS_DAY_TO_MINUTE = 9, SQL_IS_DAY_TO_SECOND = 10, SQL_IS_HOUR_TO_MINUTE = 11, SQL_IS_HOUR_TO_SECOND = 12, SQL_IS_MINUTE_TO_SECOND = 13 }

Variables

const typedef void * SQLHANDLE
const typedef void * SQLHENV
const typedef void * SQLHDBC
const typedef void * SQLHSTMT
const typedef void * SQLHDESC
const typedef void * HWND

Detailed Description

Header for the Microsoft ODBC Level-1 types.

Macro Definition Documentation

__SQLDATE

#define __SQLDATE

BOOL

#define BOOL int32_t

ODBCINT64

#define ODBCINT64 int64_t

ODBCUINT64

#define ODBCUINT64 uint64_t

ODBCVER

#define ODBCVER 0x0351

RDBC_EXPORT

#define RDBC_EXPORT

SQL_API

#define SQL_API EXTERNAL_FCN

SQL_API_PTR

#define SQL_API_PTR EXTERNAL_FCN_PTR

SQL_MAX_NUMERIC_LEN

#define SQL_MAX_NUMERIC_LEN 16

SQLLEN

#define SQLLEN SQLINTEGER

SQLSETPOSIROW

#define SQLSETPOSIROW SQLUSMALLINT

SQLULEN

#define SQLULEN SQLUINTEGER

Typedef Documentation

BOOKMARK

DATE_STRUCT

typedef struct tagDATE_STRUCT DATE_STRUCT

RETCODE

typedef int16_t RETCODE

SCHAR

typedef signed char SCHAR

SQL_DATE_STRUCT

SQL_DAY_SECOND_STRUCT

SQL_INTERVAL_STRUCT

SQL_NUMERIC_STRUCT

SQL_TIME_STRUCT

SQL_TIMESTAMP_STRUCT

SQL_YEAR_MONTH_STRUCT

SQLBIGINT

typedef int64_t SQLBIGINT

SQLCHAR

typedef uint8_t SQLCHAR

SQLDOUBLE

typedef double SQLDOUBLE

SQLFLOAT

typedef double SQLFLOAT

SQLGUID

typedef struct tagSQLGUID SQLGUID

SQLHWND

typedef HWND SQLHWND

SQLINTEGER

typedef int32_t SQLINTEGER

SQLNUMERIC

typedef uint8_t SQLNUMERIC

SQLPOINTER

typedef void* SQLPOINTER

SQLREAL

typedef float SQLREAL

SQLRETURN

typedef int16_t SQLRETURN

SQLSCHAR

typedef SCHAR SQLSCHAR

SQLSMALLINT

typedef int16_t SQLSMALLINT

SQLTIME

typedef uint8_t SQLTIME

SQLTIMESTAMP

typedef uint8_t SQLTIMESTAMP

SQLUBIGINT

typedef uint64_t SQLUBIGINT

SQLUINTEGER

typedef uint32_t SQLUINTEGER

SQLUSMALLINT

typedef uint16_t SQLUSMALLINT

SQLVARCHAR

typedef uint8_t SQLVARCHAR

SQLWCHAR

typedef wchar_t SQLWCHAR

TIME_STRUCT

typedef struct tagTIME_STRUCT TIME_STRUCT

TIMESTAMP_STRUCT

Enumeration Type Documentation

SQLINTERVAL

Enumerator
SQL_IS_YEAR
SQL_IS_MONTH
SQL_IS_DAY
SQL_IS_HOUR
SQL_IS_MINUTE
SQL_IS_SECOND
SQL_IS_YEAR_TO_MONTH
SQL_IS_DAY_TO_HOUR
SQL_IS_DAY_TO_MINUTE
SQL_IS_DAY_TO_SECOND
SQL_IS_HOUR_TO_MINUTE
SQL_IS_HOUR_TO_SECOND
SQL_IS_MINUTE_TO_SECOND

Variable Documentation

HWND

const typedef void* HWND

SQLHANDLE

const typedef void* SQLHANDLE

SQLHDBC

const typedef void* SQLHDBC

SQLHDESC

const typedef void* SQLHDESC

SQLHENV

const typedef void* SQLHENV

SQLHSTMT

const typedef void* SQLHSTMT
@ SQL_IS_YEAR
Definition: sqltypes.h:155
@ SQL_IS_MINUTE_TO_SECOND
Definition: sqltypes.h:167
@ SQL_IS_HOUR
Definition: sqltypes.h:158
@ SQL_IS_DAY
Definition: sqltypes.h:157
@ SQL_IS_HOUR_TO_MINUTE
Definition: sqltypes.h:165
SQLINTERVAL
Definition: sqltypes.h:154
@ SQL_IS_MONTH
Definition: sqltypes.h:156
@ SQL_IS_DAY_TO_HOUR
Definition: sqltypes.h:162
@ SQL_IS_MINUTE
Definition: sqltypes.h:159
@ SQL_IS_HOUR_TO_SECOND
Definition: sqltypes.h:166
@ SQL_IS_YEAR_TO_MONTH
Definition: sqltypes.h:161
@ SQL_IS_SECOND
Definition: sqltypes.h:160
@ SQL_IS_DAY_TO_MINUTE
Definition: sqltypes.h:163
@ SQL_IS_DAY_TO_SECOND
Definition: sqltypes.h:164