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 
22 #define SQL_WCHAR (-8)
23 #define SQL_WVARCHAR (-9)
24 #define SQL_WLONGVARCHAR (-10)
25 #define SQL_C_WCHAR SQL_WCHAR
26 
27 #if defined(_UNICODE)
28 #define SQL_C_TCHAR SQL_C_WCHAR
29 #else
30 #define SQL_C_TCHAR SQL_C_CHAR
31 #endif
32 
33 #define SQL_SQLSTATE_SIZEW 10 /* size of SQLSTATE for unicode */
34 
37 #if defined(RDM_WINDOWS) && defined(RDM_ODBC_DRV)
38  #if defined(RDM_32BIT)
39  #pragma comment(linker, "/export:[email protected]")
40  #pragma comment(linker, "/export:[email protected]")
41  #pragma comment(linker, "/export:[email protected]")
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  #else
70  #pragma comment(linker, "/export:SQLColAttributeW")
71  #pragma comment(linker, "/export:SQLColumnPrivilegesW")
72  #pragma comment(linker, "/export:SQLColumnsW")
73  #pragma comment(linker, "/export:SQLConnectW")
74  #pragma comment(linker, "/export:SQLDescribeColW")
75  #pragma comment(linker, "/export:SQLDriverConnectW")
76  #pragma comment(linker, "/export:SQLExecDirectW")
77  #pragma comment(linker, "/export:SQLForeignKeysW")
78  #pragma comment(linker, "/export:SQLGetConnectAttrW")
79  #pragma comment(linker, "/export:SQLGetCursorNameW")
80  #pragma comment(linker, "/export:SQLGetDescFieldW")
81  #pragma comment(linker, "/export:SQLGetDescRecW")
82  #pragma comment(linker, "/export:SQLGetDiagFieldW")
83  #pragma comment(linker, "/export:SQLGetDiagRecW")
84  #pragma comment(linker, "/export:SQLGetInfoW")
85  #pragma comment(linker, "/export:SQLGetStmtAttrW")
86  #pragma comment(linker, "/export:SQLGetTypeInfoW")
87  #pragma comment(linker, "/export:SQLNativeSqlW")
88  #pragma comment(linker, "/export:SQLPrepareW")
89  #pragma comment(linker, "/export:SQLPrimaryKeysW")
90  #pragma comment(linker, "/export:SQLProcedureColumnsW")
91  #pragma comment(linker, "/export:SQLProceduresW")
92  #pragma comment(linker, "/export:SQLSetConnectAttrW")
93  #pragma comment(linker, "/export:SQLSetCursorNameW")
94  #pragma comment(linker, "/export:SQLSetDescFieldW")
95  #pragma comment(linker, "/export:SQLSetStmtAttrW")
96  #pragma comment(linker, "/export:SQLSpecialColumnsW")
97  #pragma comment(linker, "/export:SQLStatisticsW")
98  #pragma comment(linker, "/export:SQLTablePrivilegesW")
99  #pragma comment(linker, "/export:SQLTablesW")
100  #endif
101 #endif
102 
104  SQLHSTMT hstmt,
105  SQLUSMALLINT iCol,
106  SQLUSMALLINT iField,
107  SQLPOINTER pCharAttr,
108  SQLSMALLINT cbCharAttrMax,
109  SQLSMALLINT *pcbCharAttr,
110  SQLLEN *pNumAttr);
111 
113  SQLHSTMT hstmt,
114  SQLWCHAR *szCatalogName,
115  SQLSMALLINT cbCatalogName,
116  SQLWCHAR *szSchemaName,
117  SQLSMALLINT cbSchemaName,
118  SQLWCHAR *szTableName,
119  SQLSMALLINT cbTableName,
120  SQLWCHAR *szColumnName,
121  SQLSMALLINT cbColumnName);
122 
123 RDBC_EXPORT SQLRETURN SQL_API SQLColumnsW(
124  SQLHSTMT hstmt,
125  SQLWCHAR *szCatalogName,
126  SQLSMALLINT cbCatalogName,
127  SQLWCHAR *szSchemaName,
128  SQLSMALLINT cbSchemaName,
129  SQLWCHAR *szTableName,
130  SQLSMALLINT cbTableName,
131  SQLWCHAR *szColumnName,
132  SQLSMALLINT cbColumnName);
133 
134 RDBC_EXPORT SQLRETURN SQL_API SQLConnectW(
135  SQLHDBC hdbc,
136  const SQLWCHAR *szDSN,
137  SQLSMALLINT cbDSN,
138  const SQLWCHAR *szUID,
139  SQLSMALLINT cbUID,
140  const SQLWCHAR *szAuthStr,
141  SQLSMALLINT cbAuthStr);
142 
143 RDBC_EXPORT SQLRETURN SQL_API SQLDescribeColW(
144  SQLHSTMT hstmt,
145  SQLUSMALLINT icol,
146  SQLWCHAR *szColName,
147  SQLSMALLINT cbColNameMax,
148  SQLSMALLINT *pcbColName,
149  SQLSMALLINT *pfSqlType,
150  SQLULEN *pcbColDef,
151  SQLSMALLINT *pibScale,
152  SQLSMALLINT *pfNullable);
153 
155  SQLHDBC ConnectionHandle,
156  SQLHWND WindowHandle,
157  const SQLWCHAR *InConnectionString,
158  SQLSMALLINT StringLength1,
159  SQLWCHAR *OutConnectionString,
160  SQLSMALLINT BufferLength,
161  SQLSMALLINT *StringLength2Ptr,
162  SQLUSMALLINT DriverCompletion);
163 
164 RDBC_EXPORT SQLRETURN SQL_API SQLExecDirectW(
165  SQLHSTMT hstmt,
166  const SQLWCHAR *szSqlStr,
167  SQLINTEGER cbSqlStr);
168 
169 RDBC_EXPORT SQLRETURN SQL_API SQLForeignKeysW(
170  SQLHSTMT hstmt,
171  SQLWCHAR *szPkCatalogName,
172  SQLSMALLINT cbPkCatalogName,
173  SQLWCHAR *szPkSchemaName,
174  SQLSMALLINT cbPkSchemaName,
175  SQLWCHAR *szPkTableName,
176  SQLSMALLINT cbPkTableName,
177  SQLWCHAR *szFkCatalogName,
178  SQLSMALLINT cbFkCatalogName,
179  SQLWCHAR *szFkSchemaName,
180  SQLSMALLINT cbFkSchemaName,
181  SQLWCHAR *szFkTableName,
182  SQLSMALLINT cbFkTableName);
183 
185  SQLHDBC hdbc,
186  SQLINTEGER fAttribute,
187  SQLPOINTER rgbValue,
188  SQLINTEGER cbValueMax,
189  SQLINTEGER *pcbValue);
190 
192  SQLHSTMT hstmt,
193  SQLWCHAR *szCursor,
194  SQLSMALLINT cbCursorMax,
195  SQLSMALLINT *pcbCursor);
196 
198  SQLHDESC hdesc,
199  SQLSMALLINT iRecord,
200  SQLSMALLINT iField,
201  SQLPOINTER rgbValue,
202  SQLINTEGER cbValueMax,
203  SQLINTEGER *pcbValue);
204 
205 RDBC_EXPORT SQLRETURN SQL_API SQLGetDescRecW(
206  SQLHDESC hdesc,
207  SQLSMALLINT iRecord,
208  SQLWCHAR *szName,
209  SQLSMALLINT cbNameMax,
210  SQLSMALLINT *pcbName,
211  SQLSMALLINT *pfType,
212  SQLSMALLINT *pfSubType,
213  SQLLEN *pLength,
214  SQLSMALLINT *pPrecision,
215  SQLSMALLINT *pScale,
216  SQLSMALLINT *pNullable);
217 
219  SQLSMALLINT fHandleType,
220  SQLHANDLE handle,
221  SQLSMALLINT iRecord,
222  SQLSMALLINT fDiagField,
223  SQLPOINTER rgbDiagInfo,
224  SQLSMALLINT cbDiagInfoMax,
225  SQLSMALLINT *pcbDiagInfo);
226 
227 RDBC_EXPORT SQLRETURN SQL_API SQLGetDiagRecW(
228  SQLSMALLINT fHandleType,
229  SQLHANDLE handle,
230  SQLSMALLINT iRecord,
231  SQLWCHAR *szSqlState,
232  SQLINTEGER *pfNativeError,
233  SQLWCHAR *szErrorMsg,
234  SQLSMALLINT cbErrorMsgMax,
235  SQLSMALLINT *pcbErrorMsg);
236 
237 RDBC_EXPORT SQLRETURN SQL_API SQLGetInfoW(
238  SQLHDBC hdbc,
239  SQLUSMALLINT fInfoType,
240  SQLPOINTER rgbInfoValue,
241  SQLSMALLINT cbInfoValueMax,
242  SQLSMALLINT *pcbInfoValue);
243 
244 RDBC_EXPORT SQLRETURN SQL_API SQLGetStmtAttrW(
245  SQLHSTMT hstmt,
246  SQLINTEGER fAttribute,
247  SQLPOINTER rgbValue,
248  SQLINTEGER cbValueMax,
249  SQLINTEGER *pcbValue);
250 
251 RDBC_EXPORT SQLRETURN SQL_API SQLGetTypeInfoW(
252  SQLHSTMT hstmt,
253  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 SQLPrepareW(
264  SQLHSTMT hstmt,
265  const SQLWCHAR *szSqlStr,
266  SQLINTEGER cbSqlStr);
267 
268 RDBC_EXPORT SQLRETURN SQL_API SQLPrimaryKeysW(
269  SQLHSTMT hstmt,
270  SQLWCHAR *szCatalogName,
271  SQLSMALLINT cbCatalogName,
272  SQLWCHAR *szSchemaName,
273  SQLSMALLINT cbSchemaName,
274  SQLWCHAR *szTableName,
275  SQLSMALLINT cbTableName);
276 
278  SQLHSTMT hstmt,
279  SQLWCHAR *szCatalogName,
280  SQLSMALLINT cbCatalogName,
281  SQLWCHAR *szSchemaName,
282  SQLSMALLINT cbSchemaName,
283  SQLWCHAR *szProcName,
284  SQLSMALLINT cbProcName,
285  SQLWCHAR *szColumnName,
286  SQLSMALLINT cbColumnName);
287 
288 RDBC_EXPORT SQLRETURN SQL_API SQLProceduresW(
289  SQLHSTMT hstmt,
290  SQLWCHAR *szCatalogName,
291  SQLSMALLINT cbCatalogName,
292  SQLWCHAR *szSchemaName,
293  SQLSMALLINT cbSchemaName,
294  SQLWCHAR *szProcName,
295  SQLSMALLINT cbProcName);
296 
298  SQLHDBC hdbc,
299  SQLINTEGER fAttribute,
300  SQLPOINTER rgbValue,
301  SQLINTEGER cbValue);
302 
304  SQLHSTMT hstmt,
305  const SQLWCHAR *szCursor,
306  SQLSMALLINT cbCursor);
307 
309  SQLHDESC hdesc,
310  SQLSMALLINT iRecord,
311  SQLSMALLINT iField,
312  SQLPOINTER rgbValue,
313  SQLINTEGER cbvalueMax);
314 
315 RDBC_EXPORT SQLRETURN SQL_API SQLSetStmtAttrW(
316  SQLHSTMT hstmt,
317  SQLINTEGER fAttribute,
318  SQLPOINTER rgbValue,
319  SQLINTEGER cbValueMax);
320 
322  SQLHSTMT hstmt,
323  SQLUSMALLINT fColType,
324  SQLWCHAR *szCatalogName,
325  SQLSMALLINT cbCatalogName,
326  SQLWCHAR *szSchemaName,
327  SQLSMALLINT cbSchemaName,
328  SQLWCHAR *szTableName,
329  SQLSMALLINT cbTableName,
330  SQLUSMALLINT fScope,
331  SQLUSMALLINT fNullable);
332 
333 RDBC_EXPORT SQLRETURN SQL_API SQLStatisticsW(
334  SQLHSTMT hstmt,
335  SQLWCHAR *szCatalogName,
336  SQLSMALLINT cbCatalogName,
337  SQLWCHAR *szSchemaName,
338  SQLSMALLINT cbSchemaName,
339  SQLWCHAR *szTableName,
340  SQLSMALLINT cbTableName,
341  SQLUSMALLINT fUnique,
342  SQLUSMALLINT fAccuracy);
343 
345  SQLHSTMT hstmt,
346  SQLWCHAR *szCatalogName,
347  SQLSMALLINT cbCatalogName,
348  SQLWCHAR *szSchemaName,
349  SQLSMALLINT cbSchemaName,
350  SQLWCHAR *szTableName,
351  SQLSMALLINT cbTableName);
352 
353 RDBC_EXPORT SQLRETURN SQL_API SQLTablesW(
354  SQLHSTMT hstmt,
355  SQLWCHAR *szCatalogName,
356  SQLSMALLINT cbCatalogName,
357  SQLWCHAR *szSchemaName,
358  SQLSMALLINT cbSchemaName,
359  SQLWCHAR *szTableName,
360  SQLSMALLINT cbTableName,
361  SQLWCHAR *szTableType,
362  SQLSMALLINT cbTableType);
363 
366 #if !defined(SQL_NOUNICODEMAP) /* define this to disable the mapping */
367 #if defined(_UNICODE)
368 #define SQLColAttribute SQLColAttributeW
369 #define SQLColAttributes SQLColAttributesW
370 #define SQLConnect SQLConnectW
371 #define SQLDescribeCol SQLDescribeColW
372 #define SQLError SQLErrorW
373 #define SQLExecDirect SQLExecDirectW
374 #define SQLGetConnectAttr SQLGetConnectAttrW
375 #define SQLGetCursorName SQLGetCursorNameW
376 #define SQLGetDescField SQLGetDescFieldW
377 #define SQLGetDescRec SQLGetDescRecW
378 #define SQLGetDiagField SQLGetDiagFieldW
379 #define SQLGetDiagRec SQLGetDiagRecW
380 #define SQLPrepare SQLPrepareW
381 #define SQLSetConnectAttr SQLSetConnectAttrW
382 #define SQLSetCursorName SQLSetCursorNameW
383 #define SQLSetDescField SQLSetDescFieldW
384 #define SQLSetStmtAttr SQLSetStmtAttrW
385 #define SQLGetStmtAttr SQLGetStmtAttrW
386 #define SQLColumns SQLColumnsW
387 #define SQLGetConnectOption SQLGetConnectOptionW
388 #define SQLGetInfo SQLGetInfoW
389 #define SQLGetTypeInfo SQLGetTypeInfoW
390 #define SQLSetConnectOption SQLSetConnectOptionW
391 #define SQLSpecialColumns SQLSpecialColumnsW
392 #define SQLStatistics SQLStatisticsW
393 #define SQLTables SQLTablesW
394 #define SQLDataSources SQLDataSourcesW
395 #define SQLDriverConnect SQLDriverConnectW
396 #define SQLBrowseConnect SQLBrowseConnectW
397 #define SQLColumnPrivileges SQLColumnPrivilegesW
398 #define SQLForeignKeys SQLForeignKeysW
399 #define SQLNativeSql SQLNativeSqlW
400 #define SQLPrimaryKeys SQLPrimaryKeysW
401 #define SQLProcedureColumns SQLProcedureColumnsW
402 #define SQLProcedures SQLProceduresW
403 #define SQLTablePrivileges SQLTablePrivilegesW
404 #define SQLDrivers SQLDriversW
405 
406 #endif /* _UNICODE */
407 #endif /* SQL_NOUNICODEMAP */
408 
409 
410 #endif /* SQLUCODE_H_INCLUDED_ */
411 
HWND SQLHWND
Definition: sqltypes.h:106
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:50
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:72
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:71
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:93
void * SQLPOINTER
Definition: sqltypes.h:59
uint16_t SQLUSMALLINT
Definition: sqltypes.h:49
#define SQLULEN
Definition: sqltypes.h:87
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:86
RDBC_EXPORT SQLRETURN SQLGetInfoW(SQLHDBC hdbc, SQLUSMALLINT fInfoType, SQLPOINTER rgbInfoValue, SQLSMALLINT cbInfoValueMax, SQLSMALLINT *pcbInfoValue)
#define SQL_API
Definition: sqltypes.h:38
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:48