Re-install OpenSSL 0.9.8k
[msysgit.git] / include / sql.h
blobf5241c1a48fd2e86701d507d5ac36be8f68e6d17
1 #ifndef _SQL_H
2 #define _SQL_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 #ifndef ODBCVER
7 #define ODBCVER 0x0351
8 #endif
9 #include <sqltypes.h>
10 #define SQL_ACCESSIBLE_PROCEDURES 20
11 #define SQL_ACCESSIBLE_TABLES 19
12 #define SQL_ALL_TYPES 0
13 #define SQL_ALTER_TABLE 86
14 #define SQL_API_SQLALLOCCONNECT 1
15 #define SQL_API_SQLALLOCENV 2
16 #define SQL_API_SQLALLOCSTMT 3
17 #define SQL_API_SQLBINDCOL 4
18 #define SQL_API_SQLCANCEL 5
19 #define SQL_API_SQLCOLUMNS 40
20 #define SQL_API_SQLCONNECT 7
21 #define SQL_API_SQLDATASOURCES 57
22 #define SQL_API_SQLDESCRIBECOL 8
23 #define SQL_API_SQLDISCONNECT 9
24 #define SQL_API_SQLERROR 10
25 #define SQL_API_SQLEXECDIRECT 11
26 #define SQL_API_SQLEXECUTE 12
27 #define SQL_API_SQLFETCH 13
28 #define SQL_API_SQLFREECONNECT 14
29 #define SQL_API_SQLFREEENV 15
30 #define SQL_API_SQLFREESTMT 16
31 #define SQL_API_SQLGETCONNECTOPTION 42
32 #define SQL_API_SQLGETCURSORNAME 17
33 #define SQL_API_SQLGETDATA 43
34 #define SQL_API_SQLGETFUNCTIONS 44
35 #define SQL_API_SQLGETINFO 45
36 #define SQL_API_SQLGETSTMTOPTION 46
37 #define SQL_API_SQLGETTYPEINFO 47
38 #define SQL_API_SQLNUMRESULTCOLS 18
39 #define SQL_API_SQLPARAMDATA 48
40 #define SQL_API_SQLPREPARE 19
41 #define SQL_API_SQLPUTDATA 49
42 #define SQL_API_SQLROWCOUNT 20
43 #define SQL_API_SQLSETCONNECTOPTION 50
44 #define SQL_API_SQLSETCURSORNAME 21
45 #define SQL_API_SQLSETPARAM 22
46 #define SQL_API_SQLSETSTMTOPTION 51
47 #define SQL_API_SQLSPECIALCOLUMNS 52
48 #define SQL_API_SQLSTATISTICS 53
49 #define SQL_API_SQLTABLES 54
50 #define SQL_API_SQLTRANSACT 23
51 #define SQL_CB_CLOSE 1
52 #define SQL_CB_DELETE 0
53 #define SQL_CB_PRESERVE 2
54 #define SQL_CHAR 1
55 #define SQL_CLOSE 0
56 #define SQL_COMMIT 0
57 #define SQL_CURSOR_COMMIT_BEHAVIOR 23
58 #define SQL_DATA_AT_EXEC (-2)
59 #define SQL_DATA_SOURCE_NAME 2
60 #define SQL_DATA_SOURCE_READ_ONLY 25
61 #define SQL_DBMS_NAME 17
62 #define SQL_DBMS_VER 18
63 #define SQL_DECIMAL 3
64 #define SQL_DEFAULT_TXN_ISOLATION 26
65 #define SQL_DOUBLE 8
66 #define SQL_DROP 1
67 #define SQL_ERROR (-1)
68 #define SQL_FD_FETCH_ABSOLUTE 16
69 #define SQL_FD_FETCH_FIRST 2
70 #define SQL_FD_FETCH_LAST 4
71 #define SQL_FD_FETCH_NEXT 1
72 #define SQL_FD_FETCH_PRIOR 8
73 #define SQL_FD_FETCH_RELATIVE 32
74 #define SQL_FETCH_ABSOLUTE 5
75 #define SQL_FETCH_DIRECTION 8
76 #define SQL_FETCH_FIRST 2
77 #define SQL_FETCH_LAST 3
78 #define SQL_FETCH_NEXT 1
79 #define SQL_FETCH_PRIOR 4
80 #define SQL_FETCH_RELATIVE 6
81 #define SQL_FLOAT 6
82 #define SQL_GD_ANY_COLUMN 1
83 #define SQL_GD_ANY_ORDER 2
84 #define SQL_GETDATA_EXTENSIONS 81
85 #define SQL_IC_LOWER 2
86 #define SQL_IC_MIXED 4
87 #define SQL_IC_SENSITIVE 3
88 #define SQL_IC_UPPER 1
89 #define SQL_IDENTIFIER_CASE 28
90 #define SQL_IDENTIFIER_QUOTE_CHAR 29
91 #define SQL_INDEX_ALL 1
92 #define SQL_INDEX_CLUSTERED 1
93 #define SQL_INDEX_HASHED 2
94 #define SQL_INDEX_OTHER 3
95 #define SQL_INDEX_UNIQUE 0
96 #define SQL_INTEGER 4
97 #define SQL_INTEGRITY 73
98 #define SQL_INVALID_HANDLE (-2)
99 #define SQL_MAX_CATALOG_NAME_LEN 34
100 #define SQL_MAX_COLUMN_NAME_LEN 30
101 #define SQL_MAX_COLUMNS_IN_GROUP_BY 97
102 #define SQL_MAX_COLUMNS_IN_INDEX 98
103 #define SQL_MAX_COLUMNS_IN_ORDER_BY 99
104 #define SQL_MAX_COLUMNS_IN_SELECT 100
105 #define SQL_MAX_COLUMNS_IN_TABLE 101
106 #define SQL_MAX_CURSOR_NAME_LEN 31
107 #define SQL_MAX_INDEX_SIZE 102
108 #define SQL_MAX_MESSAGE_LENGTH 512
109 #define SQL_MAX_ROW_SIZE 104
110 #define SQL_MAX_SCHEMA_NAME_LEN 32
111 #define SQL_MAX_STATEMENT_LEN 105
112 #define SQL_MAX_TABLE_NAME_LEN 35
113 #define SQL_MAX_TABLES_IN_SELECT 106
114 #define SQL_MAX_USER_NAME_LEN 107
115 #define SQL_MAXIMUM_CATALOG_NAME_LENGTH SQL_MAX_CATALOG_NAME_LEN
116 #define SQL_MAXIMUM_COLUMN_NAME_LENGTH SQL_MAX_COLUMN_NAME_LEN
117 #define SQL_MAXIMUM_COLUMNS_IN_GROUP_BY SQL_MAX_COLUMNS_IN_GROUP_BY
118 #define SQL_MAXIMUM_COLUMNS_IN_INDEX SQL_MAX_COLUMNS_IN_INDEX
119 #define SQL_MAXIMUM_COLUMNS_IN_ORDER_BY SQL_MAX_COLUMNS_IN_ORDER_BY
120 #define SQL_MAXIMUM_COLUMNS_IN_SELECT SQL_MAX_COLUMNS_IN_SELECT
121 #define SQL_MAXIMUM_CURSOR_NAME_LENGTH SQL_MAX_CURSOR_NAME_LEN
122 #define SQL_MAXIMUM_INDEX_SIZE SQL_MAX_INDEX_SIZE
123 #define SQL_MAXIMUM_ROW_SIZE SQL_MAX_ROW_SIZE
124 #define SQL_MAXIMUM_SCHEMA_NAME_LENGTH SQL_MAX_SCHEMA_NAME_LEN
125 #define SQL_MAXIMUM_STATEMENT_LENGTH SQL_MAX_STATEMENT_LEN
126 #define SQL_MAXIMUM_TABLES_IN_SELECT SQL_MAX_TABLES_IN_SELECT
127 #define SQL_MAXIMUM_USER_NAME_LENGTH SQL_MAX_USER_NAME_LEN
128 #define SQL_NC_HIGH 0
129 #define SQL_NC_LOW 1
130 #define SQL_NEED_DATA 99
131 #define SQL_NO_NULLS 0
132 #define SQL_NTS (-3)
133 #define SQL_NTSL (-3L)
134 #define SQL_NULL_COLLATION 85
135 #define SQL_NULL_DATA (-1)
136 #define SQL_NULL_HDBC 0
137 #define SQL_NULL_HENV 0
138 #define SQL_NULL_HSTMT 0
139 #define SQL_NULLABLE 1
140 #define SQL_NULLABLE_UNKNOWN 2
141 #define SQL_NUMERIC 2
142 #define SQL_ORDER_BY_COLUMNS_IN_SELECT 90
143 #define SQL_PC_PSEUDO 2
144 #define SQL_PC_UNKNOWN 0
145 #define SQL_REAL 7
146 #define SQL_RESET_PARAMS 3
147 #define SQL_ROLLBACK 1
148 #define SQL_SCCO_LOCK 2
149 #define SQL_SCCO_OPT_ROWVER 4
150 #define SQL_SCCO_OPT_VALUES 8
151 #define SQL_SCCO_READ_ONLY 1
152 #define SQL_SCOPE_CURROW 0
153 #define SQL_SCOPE_SESSION 2
154 #define SQL_SCOPE_TRANSACTION 1
155 #define SQL_SCROLL_CONCURRENCY 43
156 #define SQL_SEARCH_PATTERN_ESCAPE 14
157 #define SQL_SERVER_NAME 13
158 #define SQL_SMALLINT 5
159 #define SQL_SPECIAL_CHARACTERS 94
160 #define SQL_STILL_EXECUTING 2
161 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
162 #define SQL_SUCCESS 0
163 #define SQL_SUCCESS_WITH_INFO 1
164 #define SQL_TC_ALL 2
165 #define SQL_TC_DDL_COMMIT 3
166 #define SQL_TC_DDL_IGNORE 4
167 #define SQL_TC_DML 1
168 #define SQL_TC_NONE 0
169 #define SQL_TRANSACTION_CAPABLE SQL_TXN_CAPABLE
170 #define SQL_TRANSACTION_ISOLATION_OPTION SQL_TXN_ISOLATION_OPTION
171 #define SQL_TRANSACTION_READ_COMMITTED SQL_TXN_READ_COMMITTED
172 #define SQL_TRANSACTION_READ_UNCOMMITTED SQL_TXN_READ_UNCOMMITTED
173 #define SQL_TRANSACTION_REPEATABLE_READ SQL_TXN_REPEATABLE_READ
174 #define SQL_TRANSACTION_SERIALIZABLE SQL_TXN_SERIALIZABLE
175 #define SQL_TXN_CAPABLE 46
176 #define SQL_TXN_ISOLATION_OPTION 72
177 #define SQL_TXN_READ_COMMITTED 2
178 #define SQL_TXN_READ_UNCOMMITTED 1
179 #define SQL_TXN_REPEATABLE_READ 4
180 #define SQL_TXN_SERIALIZABLE 8
181 #define SQL_UNBIND 2
182 #define SQL_UNKNOWN_TYPE 0
183 #define SQL_USER_NAME 47
184 #define SQL_VARCHAR 12
185 #if (ODBCVER >= 0x0200)
186 #define SQL_AT_ADD_COLUMN 1
187 #define SQL_AT_DROP_COLUMN 2
188 #endif /* ODBCVER >= 0x0200 */
189 #if (ODBCVER >= 0x0201)
190 #define SQL_OJ_LEFT 1
191 #define SQL_OJ_RIGHT 2
192 #define SQL_OJ_FULL 4
193 #define SQL_OJ_NESTED 8
194 #define SQL_OJ_NOT_ORDERED 16
195 #define SQL_OJ_INNER 32
196 #define SQL_OJ_ALL_COMPARISON_OPS 64
197 #endif /* ODBCVER >= 0x0201 */
198 #if (ODBCVER >= 0x0300)
199 #define SQL_AM_CONNECTION 1
200 #define SQL_AM_NONE 0
201 #define SQL_AM_STATEMENT 2
202 #define SQL_API_SQLALLOCHANDLE 1001
203 #define SQL_API_SQLBINDPARAM 1002
204 #define SQL_API_SQLCLOSECURSOR 1003
205 #define SQL_API_SQLCOLATTRIBUTE 6
206 #define SQL_API_SQLCOPYDESC 1004
207 #define SQL_API_SQLENDTRAN 1005
208 #define SQL_API_SQLFETCHSCROLL 1021
209 #define SQL_API_SQLFREEHANDLE 1006
210 #define SQL_API_SQLGETCONNECTATTR 1007
211 #define SQL_API_SQLGETDESCFIELD 1008
212 #define SQL_API_SQLGETDESCREC 1009
213 #define SQL_API_SQLGETDIAGFIELD 1010
214 #define SQL_API_SQLGETDIAGREC 1011
215 #define SQL_API_SQLGETENVATTR 1012
216 #define SQL_API_SQLGETSTMTATTR 1014
217 #define SQL_API_SQLSETCONNECTATTR 1016
218 #define SQL_API_SQLSETDESCFIELD 1017
219 #define SQL_API_SQLSETDESCREC 1018
220 #define SQL_API_SQLSETENVATTR 1019
221 #define SQL_API_SQLSETSTMTATTR 1020
222 #define SQL_ARD_TYPE (-99)
223 #define SQL_AT_ADD_CONSTRAINT 8
224 #define SQL_ATTR_APP_PARAM_DESC 10011
225 #define SQL_ATTR_APP_ROW_DESC 10010
226 #define SQL_ATTR_AUTO_IPD 10001
227 #define SQL_ATTR_CURSOR_SCROLLABLE (-1)
228 #define SQL_ATTR_CURSOR_SENSITIVITY (-2)
229 #define SQL_ATTR_IMP_PARAM_DESC 10013
230 #define SQL_ATTR_IMP_ROW_DESC 10012
231 #define SQL_ATTR_METADATA_ID 10014
232 #define SQL_ATTR_OUTPUT_NTS 10001
233 #define SQL_CATALOG_NAME 10003
234 #define SQL_CODE_DATE 1
235 #define SQL_CODE_TIME 2
236 #define SQL_CODE_TIMESTAMP 3
237 #define SQL_COLLATION_SEQ 10004
238 #define SQL_CURSOR_SENSITIVITY 10001
239 #define SQL_DATE_LEN 10
240 #define SQL_DATETIME 9
241 #define SQL_DEFAULT 99
242 #define SQL_DESC_ALLOC_AUTO 1
243 #define SQL_DESC_ALLOC_TYPE 1099
244 #define SQL_DESC_ALLOC_USER 2
245 #define SQL_DESC_COUNT 1001
246 #define SQL_DESC_DATA_PTR 1010
247 #define SQL_DESC_DATETIME_INTERVAL_CODE 1007
248 #define SQL_DESC_INDICATOR_PTR 1009
249 #define SQL_DESC_LENGTH 1003
250 #define SQL_DESC_NAME 1011
251 #define SQL_DESC_NULLABLE 1008
252 #define SQL_DESC_OCTET_LENGTH 1013
253 #define SQL_DESC_OCTET_LENGTH_PTR 1004
254 #define SQL_DESC_PRECISION 1005
255 #define SQL_DESC_SCALE 1006
256 #define SQL_DESC_TYPE 1002
257 #define SQL_DESC_UNNAMED 1012
258 #define SQL_DESCRIBE_PARAMETER 10002
259 #define SQL_DIAG_ALTER_DOMAIN 3
260 #define SQL_DIAG_ALTER_TABLE 4
261 #define SQL_DIAG_CALL 7
262 #define SQL_DIAG_CLASS_ORIGIN 8
263 #define SQL_DIAG_CONNECTION_NAME 10
264 #define SQL_DIAG_CREATE_ASSERTION 6
265 #define SQL_DIAG_CREATE_CHARACTER_SET 8
266 #define SQL_DIAG_CREATE_COLLATION 10
267 #define SQL_DIAG_CREATE_DOMAIN 23
268 #define SQL_DIAG_CREATE_INDEX (-1)
269 #define SQL_DIAG_CREATE_SCHEMA 64
270 #define SQL_DIAG_CREATE_TABLE 77
271 #define SQL_DIAG_CREATE_TRANSLATION 79
272 #define SQL_DIAG_CREATE_VIEW 84
273 #define SQL_DIAG_DELETE_WHERE 19
274 #define SQL_DIAG_DROP_ASSERTION 24
275 #define SQL_DIAG_DROP_CHARACTER_SET 25
276 #define SQL_DIAG_DROP_COLLATION 26
277 #define SQL_DIAG_DROP_DOMAIN 27
278 #define SQL_DIAG_DROP_INDEX (-2)
279 #define SQL_DIAG_DROP_SCHEMA 31
280 #define SQL_DIAG_DROP_TABLE 32
281 #define SQL_DIAG_DROP_TRANSLATION 33
282 #define SQL_DIAG_DROP_VIEW 36
283 #define SQL_DIAG_DYNAMIC_DELETE_CURSOR 38
284 #define SQL_DIAG_DYNAMIC_FUNCTION 7
285 #define SQL_DIAG_DYNAMIC_FUNCTION_CODE 12
286 #define SQL_DIAG_DYNAMIC_UPDATE_CURSOR 81
287 #define SQL_DIAG_GRANT 48
288 #define SQL_DIAG_INSERT 50
289 #define SQL_DIAG_MESSAGE_TEXT 6
290 #define SQL_DIAG_NATIVE 5
291 #define SQL_DIAG_NUMBER 2
292 #define SQL_DIAG_RETURNCODE 1
293 #define SQL_DIAG_REVOKE 59
294 #define SQL_DIAG_ROW_COUNT 3
295 #define SQL_DIAG_SELECT_CURSOR 85
296 #define SQL_DIAG_SERVER_NAME 11
297 #define SQL_DIAG_SQLSTATE 4
298 #define SQL_DIAG_SUBCLASS_ORIGIN 9
299 #define SQL_DIAG_UNKNOWN_STATEMENT 0
300 #define SQL_DIAG_UPDATE_WHERE 82
301 #define SQL_FALSE 0
302 #define SQL_HANDLE_DBC 2
303 #define SQL_HANDLE_DESC 4
304 #define SQL_HANDLE_ENV 1
305 #define SQL_HANDLE_STMT 3
306 #define SQL_INSENSITIVE 1
307 #define SQL_MAX_CONCURRENT_ACTIVITIES 1
308 #define SQL_MAX_DRIVER_CONNECTIONS 0
309 #define SQL_MAX_IDENTIFIER_LEN 10005
310 #define SQL_MAXIMUM_CONCURRENT_ACTIVITIES SQL_MAX_CONCURRENT_ACTIVITIES
311 #define SQL_MAXIMUM_DRIVER_CONNECTIONS SQL_MAX_DRIVER_CONNECTIONS
312 #define SQL_MAXIMUM_IDENTIFIER_LENGTH SQL_MAX_IDENTIFIER_LEN
313 #define SQL_NAMED 0
314 #define SQL_NO_DATA 100
315 #define SQL_NONSCROLLABLE 0
316 #define SQL_NULL_HANDLE 0L
317 #define SQL_NULL_HDESC 0
318 #define SQL_OJ_CAPABILITIES 115
319 #define SQL_OUTER_JOIN_CAPABILITIES SQL_OJ_CAPABILITIES
320 #define SQL_PC_NON_PSEUDO 1
321 #define SQL_PRED_BASIC 2
322 #define SQL_PRED_CHAR 1
323 #define SQL_PRED_NONE 0
324 #define SQL_ROW_IDENTIFIER 1
325 #define SQL_SCROLLABLE 1
326 #define SQL_SENSITIVE 2
327 #define SQL_TIME_LEN 8
328 #define SQL_TIMESTAMP_LEN 19
329 #define SQL_TRUE 1
330 #define SQL_TYPE_DATE 91
331 #define SQL_TYPE_TIME 92
332 #define SQL_TYPE_TIMESTAMP 93
333 #define SQL_UNNAMED 1
334 #define SQL_UNSPECIFIED 0
335 #define SQL_XOPEN_CLI_YEAR 10000
336 #endif /* ODBCVER >= 0x0300 */
338 #ifndef RC_INVOKED
339 SQLRETURN SQL_API SQLAllocConnect(SQLHENV,SQLHDBC*); /* deprecated */
340 SQLRETURN SQL_API SQLAllocEnv(SQLHENV*); /* deprecated */
341 SQLRETURN SQL_API SQLAllocStmt(SQLHDBC,SQLHSTMT*); /* deprecated */
342 SQLRETURN SQL_API SQLBindCol(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*);
343 SQLRETURN SQL_API SQLCancel(SQLHSTMT);
344 SQLRETURN SQL_API SQLConnect(SQLHDBC,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT);
345 SQLRETURN SQL_API SQLDescribeCol(SQLHSTMT,SQLUSMALLINT,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLSMALLINT*,SQLULEN*,SQLSMALLINT*,SQLSMALLINT*);
346 SQLRETURN SQL_API SQLDisconnect(SQLHDBC);
347 SQLRETURN SQL_API SQLError(SQLHENV,SQLHDBC,SQLHSTMT,SQLCHAR*,SQLINTEGER*,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*); /* deprecated */
348 SQLRETURN SQL_API SQLExecDirect(SQLHSTMT,SQLCHAR*,SQLINTEGER);
349 SQLRETURN SQL_API SQLExecute(SQLHSTMT);
350 SQLRETURN SQL_API SQLFetch(SQLHSTMT);
351 SQLRETURN SQL_API SQLFreeConnect(SQLHDBC); /* deprecated */
352 SQLRETURN SQL_API SQLFreeEnv(SQLHENV); /* deprecated */
353 SQLRETURN SQL_API SQLFreeStmt(SQLHSTMT,SQLUSMALLINT);
354 SQLRETURN SQL_API SQLGetCursorName(SQLHSTMT,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*);
355 SQLRETURN SQL_API SQLNumResultCols(SQLHSTMT,SQLSMALLINT*);
356 SQLRETURN SQL_API SQLPrepare(SQLHSTMT,SQLCHAR*,SQLINTEGER);
357 SQLRETURN SQL_API SQLRowCount(SQLHSTMT,SQLLEN*);
358 SQLRETURN SQL_API SQLSetCursorName(SQLHSTMT,SQLCHAR*,SQLSMALLINT);
359 SQLRETURN SQL_API SQLTransact(SQLHENV,SQLHDBC,SQLUSMALLINT);
360 SQLRETURN SQL_API SQLSetParam(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLULEN,SQLSMALLINT,SQLPOINTER,SQLLEN*); /* deprecated */
361 SQLRETURN SQL_API SQLColumns(SQLHSTMT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT);
362 SQLRETURN SQL_API SQLGetConnectOption(SQLHDBC,SQLUSMALLINT,SQLPOINTER); /* deprecated */
363 SQLRETURN SQL_API SQLGetData(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*);
364 SQLRETURN SQL_API SQLGetFunctions(SQLHDBC,SQLUSMALLINT,SQLUSMALLINT*);
365 SQLRETURN SQL_API SQLGetInfo(SQLHDBC,SQLUSMALLINT,SQLPOINTER,SQLSMALLINT,SQLSMALLINT*);
366 SQLRETURN SQL_API SQLGetStmtOption(SQLHSTMT,SQLUSMALLINT,SQLPOINTER); /* deprecated */
367 SQLRETURN SQL_API SQLGetTypeInfo(SQLHSTMT,SQLSMALLINT);
368 SQLRETURN SQL_API SQLParamData(SQLHSTMT,SQLPOINTER*);
369 SQLRETURN SQL_API SQLPutData(SQLHSTMT,SQLPOINTER,SQLLEN);
370 SQLRETURN SQL_API SQLSetConnectOption(SQLHDBC,SQLUSMALLINT,SQLULEN); /* deprecated */
371 SQLRETURN SQL_API SQLSetStmtOption(SQLHSTMT,SQLUSMALLINT,SQLROWCOUNT); /* deprecated */
372 SQLRETURN SQL_API SQLSpecialColumns(SQLHSTMT,SQLUSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLUSMALLINT,SQLUSMALLINT);
373 SQLRETURN SQL_API SQLStatistics(SQLHSTMT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLUSMALLINT,SQLUSMALLINT);
374 SQLRETURN SQL_API SQLTables(SQLHSTMT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLCHAR*,SQLSMALLINT);
375 SQLRETURN SQL_API SQLDataSources(SQLHENV,SQLUSMALLINT,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*);
376 #if (ODBCVER >= 0x0300)
377 SQLRETURN SQL_API SQLAllocHandle(SQLSMALLINT,SQLHANDLE,SQLHANDLE*);
378 SQLRETURN SQL_API SQLBindParam(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLULEN,SQLSMALLINT,SQLPOINTER,SQLLEN*);
379 SQLRETURN SQL_API SQLCloseCursor(SQLHSTMT);
380 SQLRETURN SQL_API SQLColAttribute(SQLHSTMT,SQLUSMALLINT,SQLUSMALLINT,SQLPOINTER,SQLSMALLINT,SQLSMALLINT*,SQLPOINTER);
381 SQLRETURN SQL_API SQLCopyDesc(SQLHDESC,SQLHDESC);
382 SQLRETURN SQL_API SQLEndTran(SQLSMALLINT,SQLHANDLE,SQLSMALLINT);
383 SQLRETURN SQL_API SQLFetchScroll(SQLHSTMT,SQLSMALLINT,SQLROWOFFSET);
384 SQLRETURN SQL_API SQLFreeHandle(SQLSMALLINT,SQLHANDLE);
385 SQLRETURN SQL_API SQLGetConnectAttr(SQLHDBC,SQLINTEGER,SQLPOINTER,SQLINTEGER,SQLINTEGER*);
386 SQLRETURN SQL_API SQLGetDescField(SQLHDESC,SQLSMALLINT,SQLSMALLINT,SQLPOINTER,SQLINTEGER,SQLINTEGER*);
387 SQLRETURN SQL_API SQLGetDescRec(SQLHDESC,SQLSMALLINT,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*,
388 SQLSMALLINT*,SQLSMALLINT*,SQLLEN*,SQLSMALLINT*,SQLSMALLINT*,SQLSMALLINT*);
389 SQLRETURN SQL_API SQLGetDiagField(SQLSMALLINT,SQLHANDLE,SQLSMALLINT,SQLSMALLINT,SQLPOINTER,SQLSMALLINT,SQLSMALLINT*);
390 SQLRETURN SQL_API SQLGetDiagRec(SQLSMALLINT,SQLHANDLE,SQLSMALLINT,SQLCHAR*,SQLINTEGER*,SQLCHAR*,SQLSMALLINT,SQLSMALLINT*);
391 SQLRETURN SQL_API SQLGetEnvAttr(SQLHENV,SQLINTEGER,SQLPOINTER,SQLINTEGER,SQLINTEGER*);
392 SQLRETURN SQL_API SQLGetStmtAttr(SQLHSTMT,SQLINTEGER,SQLPOINTER,SQLINTEGER,SQLINTEGER*);
393 SQLRETURN SQL_API SQLSetConnectAttr(SQLHDBC,SQLINTEGER,SQLPOINTER,SQLINTEGER);
394 SQLRETURN SQL_API SQLSetDescField(SQLHDESC,SQLSMALLINT,SQLSMALLINT,SQLPOINTER,SQLINTEGER);
395 SQLRETURN SQL_API SQLSetDescRec(SQLHDESC,SQLSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLLEN,SQLSMALLINT,
396 SQLSMALLINT,SQLPOINTER,SQLLEN*,SQLLEN*);
397 SQLRETURN SQL_API SQLSetEnvAttr(SQLHENV,SQLINTEGER,SQLPOINTER,SQLINTEGER);
398 SQLRETURN SQL_API SQLSetStmtAttr(SQLHSTMT,SQLINTEGER,SQLPOINTER,SQLINTEGER);
399 #endif /* (ODBCVER >= 0x0300) */
400 #endif /* ndef RC_INVOKED */
401 #ifdef __cplusplus
403 #endif
404 #endif