sqltypes.h File Reference

Header for the types used in ODBC. 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

Typedefs

typedef unsigned char SQLCHAR
typedef signed char SQLSCHAR
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 void * SQLHANDLE
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
}

Detailed Description

Header for the types used in ODBC.

Raima Database Manager

Copyright (c) 2010 Raima Inc. All rights reserved.

Use of this software, whether in source code format, or in executable, binary object code form, is governed by the Raima Inc. LICENSE which is fully described in the LICENSE.TXT file, included within this distribution of files.

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

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

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 unsigned char SQLCHAR

SQLDOUBLE

typedef double SQLDOUBLE

SQLFLOAT

typedef double SQLFLOAT

SQLGUID

typedef struct tagSQLGUID SQLGUID

SQLHANDLE

typedef void* SQLHANDLE

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 signed char 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
@ SQL_IS_YEAR
Definition: sqltypes.h:168
@ SQL_IS_MINUTE_TO_SECOND
Definition: sqltypes.h:180
@ SQL_IS_HOUR
Definition: sqltypes.h:171
@ SQL_IS_DAY
Definition: sqltypes.h:170
@ SQL_IS_HOUR_TO_MINUTE
Definition: sqltypes.h:178
SQLINTERVAL
Definition: sqltypes.h:167
@ SQL_IS_MONTH
Definition: sqltypes.h:169
@ SQL_IS_DAY_TO_HOUR
Definition: sqltypes.h:175
@ SQL_IS_MINUTE
Definition: sqltypes.h:172
@ SQL_IS_HOUR_TO_SECOND
Definition: sqltypes.h:179
@ SQL_IS_YEAR_TO_MONTH
Definition: sqltypes.h:174
@ SQL_IS_SECOND
Definition: sqltypes.h:173
@ SQL_IS_DAY_TO_MINUTE
Definition: sqltypes.h:176
@ SQL_IS_DAY_TO_SECOND
Definition: sqltypes.h:177