8#define SQL_API __stdcall
46#define SQLLEN SQLINTEGER
47#define SQLULEN SQLUINTEGER
48#define SQLSETPOSIROW SQLUSMALLINT
83#if (ODBCVER >= 0x0300)
84typedef SCHAR SQLSCHAR;
85typedef void* SQLHANDLE;
86typedef void* SQLHDESC;
87typedef unsigned char SQLDATE;
88typedef unsigned char SQLDECIMAL;
89typedef double SQLDOUBLE;
90typedef double SQLFLOAT;
91typedef unsigned char SQLNUMERIC;
93typedef unsigned char SQLTIME;
94typedef unsigned char SQLTIMESTAMP;
95typedef unsigned char SQLVARCHAR;
96#define ODBCINT64 __int64
98typedef unsigned __int64 SQLUBIGINT;
103 SQL_IS_YEAR = 1,SQL_IS_MONTH,SQL_IS_DAY,SQL_IS_HOUR,
104 SQL_IS_MINUTE,SQL_IS_SECOND,SQL_IS_YEAR_TO_MONTH,SQL_IS_DAY_TO_HOUR,
105 SQL_IS_DAY_TO_MINUTE,SQL_IS_DAY_TO_SECOND,SQL_IS_HOUR_TO_MINUTE,
106 SQL_IS_HOUR_TO_SECOND,SQL_IS_MINUTE_TO_SECOND
108typedef struct tagSQL_YEAR_MONTH {
111} SQL_YEAR_MONTH_STRUCT;
112typedef struct tagSQL_DAY_SECOND {
118} SQL_DAY_SECOND_STRUCT;
119typedef struct tagSQL_INTERVAL_STRUCT {
120 SQLINTERVAL interval_type;
123 SQL_YEAR_MONTH_STRUCT year_month;
124 SQL_DAY_SECOND_STRUCT day_second;
126} SQL_INTERVAL_STRUCT;
127#define SQL_MAX_NUMERIC_LEN 16
128typedef struct tagSQL_NUMERIC_STRUCT {
136#if (ODBCVER >= 0x0350)
139# warning _GUID_DEFINED is deprecated, use GUID_DEFINED instead
142#if defined _GUID_DEFINED || defined GUID_DEFINED
145typedef struct tagSQLGUID{
unsigned long long UINT64
static DOUBLE day(DOUBLE time)
static const WCHAR month[12][4]
GLenum GLenum GLenum GLenum GLenum scale
GLenum GLint GLint * precision
struct tagDATE_STRUCT DATE_STRUCT
struct tagTIMESTAMP_STRUCT TIMESTAMP_STRUCT
struct tagTIME_STRUCT TIME_STRUCT