Products Support Documentation Download
sqlucode.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Raima Database Manager *
3  * ODBC Unicode header *
4  * *
5  * Copyright (c) 2017 Raima Inc. All rights reserved. *
6  * *
7  * Use of this software, whether in source code format, or in executable, *
8  * binary object code form, is governed by the Raima Inc. LICENSE *
9  * which is fully described in the LICENSE.TXT file, included within this *
10  * distribution of files. *
11  **************************************************************************/
12 
16 #if !defined(SQLUCODE_H_INCLUDED_)
17 #define SQLUCODE_H_INCLUDED_
18 
19 #include "sqltypes.h"
20 
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif
24 
25 #define SQL_WCHAR (-8)
26 #define SQL_WVARCHAR (-9)
27 #define SQL_WLONGVARCHAR (-10)
28 #define SQL_C_WCHAR SQL_WCHAR
29 
30 #if defined(_UNICODE)
31 #define SQL_C_TCHAR SQL_C_WCHAR
32 #else
33 #define SQL_C_TCHAR SQL_C_CHAR
34 #endif
35 
36 #define SQL_SQLSTATE_SIZEW 10 /* size of SQLSTATE for unicode */
37 
40 #if defined(RDM_WINDOWS) && defined(RDM_ODBC_DRV)
41 #if defined(RDM_32BIT)
42 #pragma comment(linker, "/export:[email protected]")
43 #pragma comment(linker, "/export:[email protected]")
44 #pragma comment(linker, "/export:[email protected]")
45 #pragma comment(linker, "/export:[email protected]")
46 #pragma comment(linker, "/export:[email protected]")
47 #pragma comment(linker, "/export:[email protected]")
48 #pragma comment(linker, "/export:[email protected]")
49 #pragma comment(linker, "/export:[email protected]")
50 #pragma comment(linker, "/export:[email protected]")
51 #pragma comment(linker, "/export:[email protected]")
52 #pragma comment(linker, "/export:[email protected]")
53 #pragma comment(linker, "/export:[email protected]")
54 #pragma comment(linker, "/export:[email protected]")
55 #pragma comment(linker, "/export:[email protected]")
56 #pragma comment(linker, "/export:[email protected]")
57 #pragma comment(linker, "/export:[email protected]")
58 #pragma comment(linker, "/export:[email protected]")
59 #pragma comment(linker, "/export:[email protected]")
60 #pragma comment(linker, "/export:[email protected]")
61 #pragma comment(linker, "/export:[email protected]")
62 #pragma comment(linker, "/export:[email protected]")
63 #pragma comment(linker, "/export:[email protected]")
64 #pragma comment(linker, "/export:[email protected]")
65 #pragma comment(linker, "/export:[email protected]")
66 #pragma comment(linker, "/export:[email protected]")
67 #pragma comment(linker, "/export:[email protected]")
68 #pragma comment(linker, "/export:[email protected]")
69 #pragma comment(linker, "/export:[email protected]")
70 #pragma comment(linker, "/export:[email protected]")
71 #pragma comment(linker, "/export:[email protected]")
72 #else
73 #pragma comment(linker, "/export:SQLColAttributeW")
74 #pragma comment(linker, "/export:SQLColumnPrivilegesW")
75 #pragma comment(linker, "/export:SQLColumnsW")
76 #pragma comment(linker, "/export:SQLConnectW")
77 #pragma comment(linker, "/export:SQLDescribeColW")
78 #pragma comment(linker, "/export:SQLDriverConnectW")
79 #pragma comment(linker, "/export:SQLExecDirectW")
80 #pragma comment(linker, "/export:SQLForeignKeysW")
81 #pragma comment(linker, "/export:SQLGetConnectAttrW")
82 #pragma comment(linker, "/export:SQLGetCursorNameW")
83 #pragma comment(linker, "/export:SQLGetDescFieldW")
84 #pragma comment(linker, "/export:SQLGetDescRecW")
85 #pragma comment(linker, "/export:SQLGetDiagFieldW")
86 #pragma comment(linker, "/export:SQLGetDiagRecW")
87 #pragma comment(linker, "/export:SQLGetInfoW")
88 #pragma comment(linker, "/export:SQLGetStmtAttrW")
89 #pragma comment(linker, "/export:SQLGetTypeInfoW")
90 #pragma comment(linker, "/export:SQLNativeSqlW")
91 #pragma comment(linker, "/export:SQLPrepareW")
92 #pragma comment(linker, "/export:SQLPrimaryKeysW")
93 #pragma comment(linker, "/export:SQLProcedureColumnsW")
94 #pragma comment(linker, "/export:SQLProceduresW")
95 #pragma comment(linker, "/export:SQLSetConnectAttrW")
96 #pragma comment(linker, "/export:SQLSetCursorNameW")
97 #pragma comment(linker, "/export:SQLSetDescFieldW")
98 #pragma comment(linker, "/export:SQLSetStmtAttrW")
99 #pragma comment(linker, "/export:SQLSpecialColumnsW")
100 #pragma comment(linker, "/export:SQLStatisticsW")
101 #pragma comment(linker, "/export:SQLTablePrivilegesW")
102 #pragma comment(linker, "/export:SQLTablesW")
103 #endif
104 #endif
105 
106 RDBC_EXPORT SQLRETURN SQL_API SQLColAttributeW (
107  SQLHSTMT hstmt,
108  SQLUSMALLINT iCol,
109  SQLUSMALLINT iField,
110  SQLPOINTER pCharAttr,
111  SQLSMALLINT cbCharAttrMax,
112  SQLSMALLINT *pcbCharAttr,
113  SQLLEN *pNumAttr);
114 
116  SQLHSTMT hstmt,
117  SQLWCHAR *szCatalogName,
118  SQLSMALLINT cbCatalogName,
119  SQLWCHAR *szSchemaName,
120  SQLSMALLINT cbSchemaName,
121  SQLWCHAR *szTableName,
122  SQLSMALLINT cbTableName,
123  SQLWCHAR *szColumnName,
124  SQLSMALLINT cbColumnName);
125 
126 RDBC_EXPORT SQLRETURN SQL_API SQLColumnsW (
127  SQLHSTMT hstmt,
128  SQLWCHAR *szCatalogName,
129  SQLSMALLINT cbCatalogName,
130  SQLWCHAR *szSchemaName,
131  SQLSMALLINT cbSchemaName,
132  SQLWCHAR *szTableName,
133  SQLSMALLINT cbTableName,
134  SQLWCHAR *szColumnName,
135  SQLSMALLINT cbColumnName);
136 
137 RDBC_EXPORT SQLRETURN SQL_API SQLConnectW (
138  SQLHDBC hdbc,
139  const SQLWCHAR *szDSN,
140  SQLSMALLINT cbDSN,
141  const SQLWCHAR *szUID,
142  SQLSMALLINT cbUID,
143  const SQLWCHAR *szAuthStr,
144  SQLSMALLINT cbAuthStr);
145 
146 RDBC_EXPORT SQLRETURN SQL_API SQLDescribeColW (
147  SQLHSTMT hstmt,
148  SQLUSMALLINT icol,
149  SQLWCHAR *szColName,
150  SQLSMALLINT cbColNameMax,
151  SQLSMALLINT *pcbColName,
152  SQLSMALLINT *pfSqlType,
153  SQLULEN *pcbColDef,
154  SQLSMALLINT *pibScale,
155  SQLSMALLINT *pfNullable);
156 
157 RDBC_EXPORT SQLRETURN SQL_API SQLDriverConnectW (
158  SQLHDBC ConnectionHandle,
159  SQLHWND WindowHandle,
160  const SQLWCHAR *InConnectionString,
161  SQLSMALLINT StringLength1,
162  SQLWCHAR *OutConnectionString,
163  SQLSMALLINT BufferLength,
164  SQLSMALLINT *StringLength2Ptr,
165  SQLUSMALLINT DriverCompletion);
166 
167 RDBC_EXPORT SQLRETURN SQL_API
168 SQLExecDirectW (SQLHSTMT hstmt, const SQLWCHAR *szSqlStr, SQLINTEGER cbSqlStr);
169 
170 RDBC_EXPORT SQLRETURN SQL_API SQLForeignKeysW (
171  SQLHSTMT hstmt,
172  SQLWCHAR *szPkCatalogName,
173  SQLSMALLINT cbPkCatalogName,
174  SQLWCHAR *szPkSchemaName,
175  SQLSMALLINT cbPkSchemaName,
176  SQLWCHAR *szPkTableName,
177  SQLSMALLINT cbPkTableName,
178  SQLWCHAR *szFkCatalogName,
179  SQLSMALLINT cbFkCatalogName,
180  SQLWCHAR *szFkSchemaName,
181  SQLSMALLINT cbFkSchemaName,
182  SQLWCHAR *szFkTableName,
183  SQLSMALLINT cbFkTableName);
184 
186  SQLHDBC hdbc,
187  SQLINTEGER fAttribute,
188  SQLPOINTER rgbValue,
189  SQLINTEGER cbValueMax,
190  SQLINTEGER *pcbValue);
191 
192 RDBC_EXPORT SQLRETURN SQL_API SQLGetCursorNameW (
193  SQLHSTMT hstmt,
194  SQLWCHAR *szCursor,
195  SQLSMALLINT cbCursorMax,
196  SQLSMALLINT *pcbCursor);
197 
198 RDBC_EXPORT SQLRETURN SQL_API SQLGetDescFieldW (
199  SQLHDESC hdesc,
200  SQLSMALLINT iRecord,
201  SQLSMALLINT iField,
202  SQLPOINTER rgbValue,
203  SQLINTEGER cbValueMax,
204  SQLINTEGER *pcbValue);
205 
206 RDBC_EXPORT SQLRETURN SQL_API SQLGetDescRecW (
207  SQLHDESC hdesc,
208  SQLSMALLINT iRecord,
209  SQLWCHAR *szName,
210  SQLSMALLINT cbNameMax,
211  SQLSMALLINT *pcbName,
212  SQLSMALLINT *pfType,
213  SQLSMALLINT *pfSubType,
214  SQLLEN *pLength,
215  SQLSMALLINT *pPrecision,
216  SQLSMALLINT *pScale,
217  SQLSMALLINT *pNullable);
218 
219 RDBC_EXPORT SQLRETURN SQL_API SQLGetDiagFieldW (
220  SQLSMALLINT fHandleType,
221  SQLHANDLE handle,
222  SQLSMALLINT iRecord,
223  SQLSMALLINT fDiagField,
224  SQLPOINTER rgbDiagInfo,
225  SQLSMALLINT cbDiagInfoMax,
226  SQLSMALLINT *pcbDiagInfo);
227 
228 RDBC_EXPORT SQLRETURN SQL_API SQLGetDiagRecW (
229  SQLSMALLINT fHandleType,
230  SQLHANDLE handle,
231  SQLSMALLINT iRecord,
232  SQLWCHAR *szSqlState,
233  SQLINTEGER *pfNativeError,
234  SQLWCHAR *szErrorMsg,
235  SQLSMALLINT cbErrorMsgMax,
236  SQLSMALLINT *pcbErrorMsg);
237 
238 RDBC_EXPORT SQLRETURN SQL_API SQLGetInfoW (
239  SQLHDBC hdbc,
240  SQLUSMALLINT fInfoType,
241  SQLPOINTER rgbInfoValue,
242  SQLSMALLINT cbInfoValueMax,
243  SQLSMALLINT *pcbInfoValue);
244 
245 RDBC_EXPORT SQLRETURN SQL_API SQLGetStmtAttrW (
246  SQLHSTMT hstmt,
247  SQLINTEGER fAttribute,
248  SQLPOINTER rgbValue,
249  SQLINTEGER cbValueMax,
250  SQLINTEGER *pcbValue);
251 
252 RDBC_EXPORT SQLRETURN SQL_API
253 SQLGetTypeInfoW (SQLHSTMT hstmt, SQLSMALLINT fDataType);
254 
255 RDBC_EXPORT SQLRETURN SQL_API SQLNativeSqlW (
256  SQLHDBC hdbc,
257  const SQLWCHAR *szSqlStrIn,
258  SQLINTEGER cbSqlStrIn,
259  SQLWCHAR *szSqlStr,
260  SQLINTEGER cbSqlStrMax,
261  SQLINTEGER *pcbSqlStr);
262 
263 RDBC_EXPORT SQLRETURN SQL_API
264 SQLPrepareW (SQLHSTMT hstmt, const SQLWCHAR *szSqlStr, SQLINTEGER cbSqlStr);
265 
266 RDBC_EXPORT SQLRETURN SQL_API SQLPrimaryKeysW (
267  SQLHSTMT hstmt,
268  SQLWCHAR *szCatalogName,
269  SQLSMALLINT cbCatalogName,
270  SQLWCHAR *szSchemaName,
271  SQLSMALLINT cbSchemaName,
272  SQLWCHAR *szTableName,
273  SQLSMALLINT cbTableName);
274 
276  SQLHSTMT hstmt,
277  SQLWCHAR *szCatalogName,
278  SQLSMALLINT cbCatalogName,
279  SQLWCHAR *szSchemaName,
280  SQLSMALLINT cbSchemaName,
281  SQLWCHAR *szProcName,
282  SQLSMALLINT cbProcName,
283  SQLWCHAR *szColumnName,
284  SQLSMALLINT cbColumnName);
285 
286 RDBC_EXPORT SQLRETURN SQL_API SQLProceduresW (
287  SQLHSTMT hstmt,
288  SQLWCHAR *szCatalogName,
289  SQLSMALLINT cbCatalogName,
290  SQLWCHAR *szSchemaName,
291  SQLSMALLINT cbSchemaName,
292  SQLWCHAR *szProcName,
293  SQLSMALLINT cbProcName);
294 
296  SQLHDBC hdbc,
297  SQLINTEGER fAttribute,
298  SQLPOINTER rgbValue,
299  SQLINTEGER cbValue);
300 
301 RDBC_EXPORT SQLRETURN SQL_API
302 SQLSetCursorNameW (SQLHSTMT hstmt, const SQLWCHAR *szCursor, SQLSMALLINT cbCursor);
303 
304 RDBC_EXPORT SQLRETURN SQL_API SQLSetDescFieldW (
305  SQLHDESC hdesc,
306  SQLSMALLINT iRecord,
307  SQLSMALLINT iField,
308  SQLPOINTER rgbValue,
309  SQLINTEGER cbvalueMax);
310 
311 RDBC_EXPORT SQLRETURN SQL_API SQLSetStmtAttrW (
312  SQLHSTMT hstmt,
313  SQLINTEGER fAttribute,
314  SQLPOINTER rgbValue,
315  SQLINTEGER cbValueMax);
316 
318  SQLHSTMT hstmt,
319  SQLUSMALLINT fColType,
320  SQLWCHAR *szCatalogName,
321  SQLSMALLINT cbCatalogName,
322  SQLWCHAR *szSchemaName,
323  SQLSMALLINT cbSchemaName,
324  SQLWCHAR *szTableName,
325  SQLSMALLINT cbTableName,
326  SQLUSMALLINT fScope,
327  SQLUSMALLINT fNullable);
328 
329 RDBC_EXPORT SQLRETURN SQL_API SQLStatisticsW (
330  SQLHSTMT hstmt,
331  SQLWCHAR *szCatalogName,
332  SQLSMALLINT cbCatalogName,
333  SQLWCHAR *szSchemaName,
334  SQLSMALLINT cbSchemaName,
335  SQLWCHAR *szTableName,
336  SQLSMALLINT cbTableName,
337  SQLUSMALLINT fUnique,
338  SQLUSMALLINT fAccuracy);
339 
341  SQLHSTMT hstmt,
342  SQLWCHAR *szCatalogName,
343  SQLSMALLINT cbCatalogName,
344  SQLWCHAR *szSchemaName,
345  SQLSMALLINT cbSchemaName,
346  SQLWCHAR *szTableName,
347  SQLSMALLINT cbTableName);
348 
349 RDBC_EXPORT SQLRETURN SQL_API SQLTablesW (
350  SQLHSTMT hstmt,
351  SQLWCHAR *szCatalogName,
352  SQLSMALLINT cbCatalogName,
353  SQLWCHAR *szSchemaName,
354  SQLSMALLINT cbSchemaName,
355  SQLWCHAR *szTableName,
356  SQLSMALLINT cbTableName,
357  SQLWCHAR *szTableType,
358  SQLSMALLINT cbTableType);
359 
362 #if !defined(SQL_NOUNICODEMAP) /* define this to disable the mapping */
363 #if defined(_UNICODE)
364 #define SQLColAttribute SQLColAttributeW
365 #define SQLColAttributes SQLColAttributesW
366 #define SQLConnect SQLConnectW
367 #define SQLDescribeCol SQLDescribeColW
368 #define SQLError SQLErrorW
369 #define SQLExecDirect SQLExecDirectW
370 #define SQLGetConnectAttr SQLGetConnectAttrW
371 #define SQLGetCursorName SQLGetCursorNameW
372 #define SQLGetDescField SQLGetDescFieldW
373 #define SQLGetDescRec SQLGetDescRecW
374 #define SQLGetDiagField SQLGetDiagFieldW
375 #define SQLGetDiagRec SQLGetDiagRecW
376 #define SQLPrepare SQLPrepareW
377 #define SQLSetConnectAttr SQLSetConnectAttrW
378 #define SQLSetCursorName SQLSetCursorNameW
379 #define SQLSetDescField SQLSetDescFieldW
380 #define SQLSetStmtAttr SQLSetStmtAttrW
381 #define SQLGetStmtAttr SQLGetStmtAttrW
382 #define SQLColumns SQLColumnsW
383 #define SQLGetConnectOption SQLGetConnectOptionW
384 #define SQLGetInfo SQLGetInfoW
385 #define SQLGetTypeInfo SQLGetTypeInfoW
386 #define SQLSetConnectOption SQLSetConnectOptionW
387 #define SQLSpecialColumns SQLSpecialColumnsW
388 #define SQLStatistics SQLStatisticsW
389 #define SQLTables SQLTablesW
390 #define SQLDataSources SQLDataSourcesW
391 #define SQLDriverConnect SQLDriverConnectW
392 #define SQLBrowseConnect SQLBrowseConnectW
393 #define SQLColumnPrivileges SQLColumnPrivilegesW
394 #define SQLForeignKeys SQLForeignKeysW
395 #define SQLNativeSql SQLNativeSqlW
396 #define SQLPrimaryKeys SQLPrimaryKeysW
397 #define SQLProcedureColumns SQLProcedureColumnsW
398 #define SQLProcedures SQLProceduresW
399 #define SQLTablePrivileges SQLTablePrivilegesW
400 #define SQLDrivers SQLDriversW
401 
402 #endif /* _UNICODE */
403 #endif /* SQL_NOUNICODEMAP */
404 
405 #if defined(__cplusplus)
406 }
407 #endif
408 
409 #endif /* SQLUCODE_H_INCLUDED_ */
HWND SQLHWND
Definition: sqltypes.h:111
RDBC_EXPORT SQLRETURN SQLGetDiagRecW(SQLSMALLINT fHandleType, SQLHANDLE handle, SQLSMALLINT iRecord, SQLWCHAR *szSqlState, SQLINTEGER *pfNativeError, SQLWCHAR *szErrorMsg, SQLSMALLINT cbErrorMsgMax, SQLSMALLINT *pcbErrorMsg)
int32_t SQLINTEGER
Definition: sqltypes.h:55
RDBC_EXPORT SQLRETURN SQLStatisticsW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName, SQLUSMALLINT fUnique, SQLUSMALLINT fAccuracy)
RDBC_EXPORT SQLRETURN SQLDriverConnectW(SQLHDBC ConnectionHandle, SQLHWND WindowHandle, const SQLWCHAR *InConnectionString, SQLSMALLINT StringLength1, SQLWCHAR *OutConnectionString, SQLSMALLINT BufferLength, SQLSMALLINT *StringLength2Ptr, SQLUSMALLINT DriverCompletion)
RDBC_EXPORT SQLRETURN SQLGetStmtAttrW(SQLHSTMT hstmt, SQLINTEGER fAttribute, SQLPOINTER rgbValue, SQLINTEGER cbValueMax, SQLINTEGER *pcbValue)
RDBC_EXPORT SQLRETURN SQLSetCursorNameW(SQLHSTMT hstmt, const SQLWCHAR *szCursor, SQLSMALLINT cbCursor)
RDBC_EXPORT SQLRETURN SQLGetDescFieldW(SQLHDESC hdesc, SQLSMALLINT iRecord, SQLSMALLINT iField, SQLPOINTER rgbValue, SQLINTEGER cbValueMax, SQLINTEGER *pcbValue)
RDBC_EXPORT SQLRETURN SQLGetTypeInfoW(SQLHSTMT hstmt, SQLSMALLINT fDataType)
Header for the types used in ODBC.
RDBC_EXPORT SQLRETURN SQLConnectW(SQLHDBC hdbc, const SQLWCHAR *szDSN, SQLSMALLINT cbDSN, const SQLWCHAR *szUID, SQLSMALLINT cbUID, const SQLWCHAR *szAuthStr, SQLSMALLINT cbAuthStr)
RDBC_EXPORT SQLRETURN SQLColAttributeW(SQLHSTMT hstmt, SQLUSMALLINT iCol, SQLUSMALLINT iField, SQLPOINTER pCharAttr, SQLSMALLINT cbCharAttrMax, SQLSMALLINT *pcbCharAttr, SQLINTEGER *pNumAttr)
Unicode versions of the API.
RDBC_EXPORT SQLRETURN SQLGetConnectAttrW(SQLHDBC hdbc, SQLINTEGER fAttribute, SQLPOINTER rgbValue, SQLINTEGER cbValueMax, SQLINTEGER *pcbValue)
RDBC_EXPORT SQLRETURN SQLTablesW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName, SQLWCHAR *szTableType, SQLSMALLINT cbTableType)
RDBC_EXPORT SQLRETURN SQLDescribeColW(SQLHSTMT hstmt, SQLUSMALLINT icol, SQLWCHAR *szColName, SQLSMALLINT cbColNameMax, SQLSMALLINT *pcbColName, SQLSMALLINT *pfSqlType, SQLUINTEGER *pcbColDef, SQLSMALLINT *pibScale, SQLSMALLINT *pfNullable)
RDBC_EXPORT SQLRETURN SQLGetDescRecW(SQLHDESC hdesc, SQLSMALLINT iRecord, SQLWCHAR *szName, SQLSMALLINT cbNameMax, SQLSMALLINT *pcbName, SQLSMALLINT *pfType, SQLSMALLINT *pfSubType, SQLINTEGER *pLength, SQLSMALLINT *pPrecision, SQLSMALLINT *pScale, SQLSMALLINT *pNullable)
wchar_t SQLWCHAR
Definition: sqltypes.h:77
RDBC_EXPORT SQLRETURN SQLGetDiagFieldW(SQLSMALLINT fHandleType, SQLHANDLE handle, SQLSMALLINT iRecord, SQLSMALLINT fDiagField, SQLPOINTER rgbDiagInfo, SQLSMALLINT cbDiagInfoMax, SQLSMALLINT *pcbDiagInfo)
RDBC_EXPORT SQLRETURN SQLNativeSqlW(SQLHDBC hdbc, const SQLWCHAR *szSqlStrIn, SQLINTEGER cbSqlStrIn, SQLWCHAR *szSqlStr, SQLINTEGER cbSqlStrMax, SQLINTEGER *pcbSqlStr)
int16_t SQLRETURN
SQL API Return Codes.
Definition: sqltypes.h:76
RDBC_EXPORT SQLRETURN SQLSetStmtAttrW(SQLHSTMT hstmt, SQLINTEGER fAttribute, SQLPOINTER rgbValue, SQLINTEGER cbValueMax)
RDBC_EXPORT SQLRETURN SQLProceduresW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szProcName, SQLSMALLINT cbProcName)
const void * SQLHANDLE
Definition: sqltypes.h:98
void * SQLPOINTER
Definition: sqltypes.h:64
uint16_t SQLUSMALLINT
Definition: sqltypes.h:54
#define SQLULEN
Definition: sqltypes.h:92
RDBC_EXPORT SQLRETURN SQLGetCursorNameW(SQLHSTMT hstmt, SQLWCHAR *szCursor, SQLSMALLINT cbCursorMax, SQLSMALLINT *pcbCursor)
RDBC_EXPORT SQLRETURN SQLColumnsW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName, SQLWCHAR *szColumnName, SQLSMALLINT cbColumnName)
RDBC_EXPORT SQLRETURN SQLSetDescFieldW(SQLHDESC hdesc, SQLSMALLINT iRecord, SQLSMALLINT iField, SQLPOINTER rgbValue, SQLINTEGER cbvalueMax)
RDBC_EXPORT SQLRETURN SQLExecDirectW(SQLHSTMT hstmt, const SQLWCHAR *szSqlStr, SQLINTEGER cbSqlStr)
RDBC_EXPORT SQLRETURN SQLForeignKeysW(SQLHSTMT hstmt, SQLWCHAR *szPkCatalogName, SQLSMALLINT cbPkCatalogName, SQLWCHAR *szPkSchemaName, SQLSMALLINT cbPkSchemaName, SQLWCHAR *szPkTableName, SQLSMALLINT cbPkTableName, SQLWCHAR *szFkCatalogName, SQLSMALLINT cbFkCatalogName, SQLWCHAR *szFkSchemaName, SQLSMALLINT cbFkSchemaName, SQLWCHAR *szFkTableName, SQLSMALLINT cbFkTableName)
RDBC_EXPORT SQLRETURN SQLSpecialColumnsW(SQLHSTMT hstmt, SQLUSMALLINT fColType, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName, SQLUSMALLINT fScope, SQLUSMALLINT fNullable)
RDBC_EXPORT SQLRETURN SQLSetConnectAttrW(SQLHDBC hdbc, SQLINTEGER fAttribute, SQLPOINTER rgbValue, SQLINTEGER cbValue)
RDBC_EXPORT SQLRETURN SQLPrimaryKeysW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName)
RDBC_EXPORT SQLRETURN SQLColumnPrivilegesW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName, SQLWCHAR *szColumnName, SQLSMALLINT cbColumnName)
RDBC_EXPORT SQLRETURN SQLTablePrivilegesW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szTableName, SQLSMALLINT cbTableName)
RDBC_EXPORT SQLRETURN SQLPrepareW(SQLHSTMT hstmt, const SQLWCHAR *szSqlStr, SQLINTEGER cbSqlStr)
#define SQLLEN
Definition: sqltypes.h:91
RDBC_EXPORT SQLRETURN SQLGetInfoW(SQLHDBC hdbc, SQLUSMALLINT fInfoType, SQLPOINTER rgbInfoValue, SQLSMALLINT cbInfoValueMax, SQLSMALLINT *pcbInfoValue)
#define SQL_API
Definition: sqltypes.h:43
RDBC_EXPORT SQLRETURN SQLProcedureColumnsW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLWCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLWCHAR *szProcName, SQLSMALLINT cbProcName, SQLWCHAR *szColumnName, SQLSMALLINT cbColumnName)
int16_t SQLSMALLINT
Definition: sqltypes.h:53