NCBI C++ ToolKit
Macros | Functions
odbc_export.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define tdsdump_log   tdsdump_do_log
 
#define tdsdump_log   TDSDUMP_LOG_FAST
 

Functions

SQLRETURN ODBC_PUBLIC ODBC_API SQLDriverConnect (SQLHDBC hdbc, SQLHWND hwnd, SQLCHAR *szConnStrIn, SQLSMALLINT cbConnStrIn, SQLCHAR *szConnStrOut, SQLSMALLINT cbConnStrOutMax, SQLSMALLINT FAR *pcbConnStrOut, SQLUSMALLINT fDriverCompletion)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLColumnPrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLForeignKeys (SQLHSTMT hstmt, SQLCHAR *szPkCatalogName, SQLSMALLINT cbPkCatalogName, SQLCHAR *szPkSchemaName, SQLSMALLINT cbPkSchemaName, SQLCHAR *szPkTableName, SQLSMALLINT cbPkTableName, SQLCHAR *szFkCatalogName, SQLSMALLINT cbFkCatalogName, SQLCHAR *szFkSchemaName, SQLSMALLINT cbFkSchemaName, SQLCHAR *szFkTableName, SQLSMALLINT cbFkTableName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLNativeSql (SQLHDBC hdbc, SQLCHAR *szSqlStrIn, SQLINTEGER cbSqlStrIn, SQLCHAR *szSqlStr, SQLINTEGER cbSqlStrMax, SQLINTEGER FAR *pcbSqlStr)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLPrimaryKeys (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLProcedureColumns (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szProcName, SQLSMALLINT cbProcName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLProcedures (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szProcName, SQLSMALLINT cbProcName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLTablePrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLConnect (SQLHDBC hdbc, SQLCHAR *szDSN, SQLSMALLINT cbDSN, SQLCHAR *szUID, SQLSMALLINT cbUID, SQLCHAR *szAuthStr, SQLSMALLINT cbAuthStr)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLDescribeCol (SQLHSTMT hstmt, SQLUSMALLINT icol, SQLCHAR *szColName, SQLSMALLINT cbColNameMax, SQLSMALLINT FAR *pcbColName, SQLSMALLINT *pfSqlType, SQLULEN *pcbColDef, SQLSMALLINT *pibScale, SQLSMALLINT *pfNullable)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLGetDescRec (SQLHDESC hdesc, SQLSMALLINT RecordNumber, SQLCHAR *szName, SQLSMALLINT cbNameMax, SQLSMALLINT FAR *pcbName, SQLSMALLINT *Type, SQLSMALLINT *SubType, SQLLEN *Length, SQLSMALLINT *Precision, SQLSMALLINT *Scale, SQLSMALLINT *Nullable)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLGetDescField (SQLHDESC hdesc, SQLSMALLINT icol, SQLSMALLINT fDescType, SQLPOINTER Value, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLSetDescField (SQLHDESC hdesc, SQLSMALLINT icol, SQLSMALLINT fDescType, SQLPOINTER Value, SQLINTEGER BufferLength)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLExecDirect (SQLHSTMT hstmt, SQLCHAR *szSqlStr, SQLINTEGER cbSqlStr)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLPrepare (SQLHSTMT hstmt, SQLCHAR *szSqlStr, SQLINTEGER cbSqlStr)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLSetCursorName (SQLHSTMT hstmt, SQLCHAR *szCursor, SQLSMALLINT cbCursor)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLGetCursorName (SQLHSTMT hstmt, SQLCHAR *szCursor, SQLSMALLINT cbCursorMax, SQLSMALLINT FAR *pcbCursor)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLColumns (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLGetConnectAttr (SQLHDBC hdbc, SQLINTEGER Attribute, SQLPOINTER Value, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLSetConnectAttr (SQLHDBC hdbc, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER StringLength)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLSpecialColumns (SQLHSTMT hstmt, SQLUSMALLINT fColType, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLUSMALLINT fScope, SQLUSMALLINT fNullable)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLStatistics (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLUSMALLINT fUnique, SQLUSMALLINT fAccuracy)
 
SQLRETURN ODBC_PUBLIC ODBC_API SQLTables (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLCHAR *szTableType, SQLSMALLINT cbTableType)
 

Macro Definition Documentation

◆ tdsdump_log [1/2]

#define tdsdump_log   tdsdump_do_log

Definition at line 1301 of file odbc_export.h.

◆ tdsdump_log [2/2]

#define tdsdump_log   TDSDUMP_LOG_FAST

Definition at line 1301 of file odbc_export.h.

Function Documentation

◆ SQLColumnPrivileges()

SQLRETURN ODBC_PUBLIC ODBC_API SQLColumnPrivileges ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLCHAR szColumnName,
SQLSMALLINT  cbColumnName 
)

Definition at line 96 of file odbc_export.h.

References _SQLColumnPrivileges(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLColumns()

SQLRETURN ODBC_PUBLIC ODBC_API SQLColumns ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLCHAR szColumnName,
SQLSMALLINT  cbColumnName 
)

Definition at line 964 of file odbc_export.h.

References _SQLColumns(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLConnect()

SQLRETURN ODBC_PUBLIC ODBC_API SQLConnect ( SQLHDBC  hdbc,
SQLCHAR szDSN,
SQLSMALLINT  cbDSN,
SQLCHAR szUID,
SQLSMALLINT  cbUID,
SQLCHAR szAuthStr,
SQLSMALLINT  cbAuthStr 
)

Definition at line 488 of file odbc_export.h.

References _SQLConnect(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

Referenced by CODBC_Connection::x_Connect().

◆ SQLDescribeCol()

SQLRETURN ODBC_PUBLIC ODBC_API SQLDescribeCol ( SQLHSTMT  hstmt,
SQLUSMALLINT  icol,
SQLCHAR szColName,
SQLSMALLINT  cbColNameMax,
SQLSMALLINT FAR pcbColName,
SQLSMALLINT pfSqlType,
SQLULEN pcbColDef,
SQLSMALLINT pibScale,
SQLSMALLINT pfNullable 
)

Definition at line 548 of file odbc_export.h.

References _SQLDescribeCol(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLDriverConnect()

SQLRETURN ODBC_PUBLIC ODBC_API SQLDriverConnect ( SQLHDBC  hdbc,
SQLHWND  hwnd,
SQLCHAR szConnStrIn,
SQLSMALLINT  cbConnStrIn,
SQLCHAR szConnStrOut,
SQLSMALLINT  cbConnStrOutMax,
SQLSMALLINT FAR pcbConnStrOut,
SQLUSMALLINT  fDriverCompletion 
)

Definition at line 36 of file odbc_export.h.

References _SQLDriverConnect(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLExecDirect()

SQLRETURN ODBC_PUBLIC ODBC_API SQLExecDirect ( SQLHSTMT  hstmt,
SQLCHAR szSqlStr,
SQLINTEGER  cbSqlStr 
)

◆ SQLForeignKeys()

SQLRETURN ODBC_PUBLIC ODBC_API SQLForeignKeys ( SQLHSTMT  hstmt,
SQLCHAR szPkCatalogName,
SQLSMALLINT  cbPkCatalogName,
SQLCHAR szPkSchemaName,
SQLSMALLINT  cbPkSchemaName,
SQLCHAR szPkTableName,
SQLSMALLINT  cbPkTableName,
SQLCHAR szFkCatalogName,
SQLSMALLINT  cbFkCatalogName,
SQLCHAR szFkSchemaName,
SQLSMALLINT  cbFkSchemaName,
SQLCHAR szFkTableName,
SQLSMALLINT  cbFkTableName 
)

Definition at line 164 of file odbc_export.h.

References _SQLForeignKeys(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLGetConnectAttr()

SQLRETURN ODBC_PUBLIC ODBC_API SQLGetConnectAttr ( SQLHDBC  hdbc,
SQLINTEGER  Attribute,
SQLPOINTER  Value,
SQLINTEGER  BufferLength,
SQLINTEGER StringLength 
)

Definition at line 1020 of file odbc_export.h.

References _SQLGetConnectAttr(), TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

Referenced by CODBC_Connection::IsAlive().

◆ SQLGetCursorName()

SQLRETURN ODBC_PUBLIC ODBC_API SQLGetCursorName ( SQLHSTMT  hstmt,
SQLCHAR szCursor,
SQLSMALLINT  cbCursorMax,
SQLSMALLINT FAR pcbCursor 
)

Definition at line 916 of file odbc_export.h.

References _SQLGetCursorName(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLGetDescField()

SQLRETURN ODBC_PUBLIC ODBC_API SQLGetDescField ( SQLHDESC  hdesc,
SQLSMALLINT  icol,
SQLSMALLINT  fDescType,
SQLPOINTER  Value,
SQLINTEGER  BufferLength,
SQLINTEGER StringLength 
)

◆ SQLGetDescRec()

SQLRETURN ODBC_PUBLIC ODBC_API SQLGetDescRec ( SQLHDESC  hdesc,
SQLSMALLINT  RecordNumber,
SQLCHAR szName,
SQLSMALLINT  cbNameMax,
SQLSMALLINT FAR pcbName,
SQLSMALLINT Type,
SQLSMALLINT SubType,
SQLLEN Length,
SQLSMALLINT Precision,
SQLSMALLINT Scale,
SQLSMALLINT Nullable 
)

Definition at line 628 of file odbc_export.h.

References _SQLGetDescRec(), ODBC_CHAR, TDS_DBG_FUNC, TDSDUMP_LOG_FAST, and Type.

◆ SQLNativeSql()

SQLRETURN ODBC_PUBLIC ODBC_API SQLNativeSql ( SQLHDBC  hdbc,
SQLCHAR szSqlStrIn,
SQLINTEGER  cbSqlStrIn,
SQLCHAR szSqlStr,
SQLINTEGER  cbSqlStrMax,
SQLINTEGER FAR pcbSqlStr 
)

Definition at line 224 of file odbc_export.h.

References _SQLNativeSql(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLPrepare()

SQLRETURN ODBC_PUBLIC ODBC_API SQLPrepare ( SQLHSTMT  hstmt,
SQLCHAR szSqlStr,
SQLINTEGER  cbSqlStr 
)

Definition at line 848 of file odbc_export.h.

References _SQLPrepare(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

Referenced by ODBC_xSendDataPrepare(), query_test(), and Test().

◆ SQLPrimaryKeys()

SQLRETURN ODBC_PUBLIC ODBC_API SQLPrimaryKeys ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName 
)

Definition at line 272 of file odbc_export.h.

References _SQLPrimaryKeys(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLProcedureColumns()

SQLRETURN ODBC_PUBLIC ODBC_API SQLProcedureColumns ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szProcName,
SQLSMALLINT  cbProcName,
SQLCHAR szColumnName,
SQLSMALLINT  cbColumnName 
)

Definition at line 328 of file odbc_export.h.

References _SQLProcedureColumns(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLProcedures()

SQLRETURN ODBC_PUBLIC ODBC_API SQLProcedures ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szProcName,
SQLSMALLINT  cbProcName 
)

Definition at line 384 of file odbc_export.h.

References _SQLProcedures(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLSetConnectAttr()

SQLRETURN ODBC_PUBLIC ODBC_API SQLSetConnectAttr ( SQLHDBC  hdbc,
SQLINTEGER  Attribute,
SQLPOINTER  ValuePtr,
SQLINTEGER  StringLength 
)

Definition at line 1072 of file odbc_export.h.

References _SQLSetConnectAttr(), TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLSetCursorName()

SQLRETURN ODBC_PUBLIC ODBC_API SQLSetCursorName ( SQLHSTMT  hstmt,
SQLCHAR szCursor,
SQLSMALLINT  cbCursor 
)

Definition at line 884 of file odbc_export.h.

References _SQLSetCursorName(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

Referenced by CODBC_LangCmd::SetCursorName().

◆ SQLSetDescField()

SQLRETURN ODBC_PUBLIC ODBC_API SQLSetDescField ( SQLHDESC  hdesc,
SQLSMALLINT  icol,
SQLSMALLINT  fDescType,
SQLPOINTER  Value,
SQLINTEGER  BufferLength 
)

◆ SQLSpecialColumns()

SQLRETURN ODBC_PUBLIC ODBC_API SQLSpecialColumns ( SQLHSTMT  hstmt,
SQLUSMALLINT  fColType,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLUSMALLINT  fScope,
SQLUSMALLINT  fNullable 
)

Definition at line 1136 of file odbc_export.h.

References _SQLSpecialColumns(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLStatistics()

SQLRETURN ODBC_PUBLIC ODBC_API SQLStatistics ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLUSMALLINT  fUnique,
SQLUSMALLINT  fAccuracy 
)

Definition at line 1208 of file odbc_export.h.

References _SQLStatistics(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLTablePrivileges()

SQLRETURN ODBC_PUBLIC ODBC_API SQLTablePrivileges ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName 
)

Definition at line 436 of file odbc_export.h.

References _SQLTablePrivileges(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

◆ SQLTables()

SQLRETURN ODBC_PUBLIC ODBC_API SQLTables ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLCHAR szTableType,
SQLSMALLINT  cbTableType 
)

Definition at line 1272 of file odbc_export.h.

References _SQLTables(), ODBC_CHAR, TDS_DBG_FUNC, and TDSDUMP_LOG_FAST.

Modified on Wed Feb 21 09:56:02 2024 by modify_doxy.py rev. 669887