NCBI C++ ToolKit
Macros | Typedefs
bcp.cpp File Reference
#include <ncbi_pch.hpp>
#include <dbapi/driver/odbc/interfaces.hpp>
#include <dbapi/driver/util/numeric_convert.hpp>
#include <dbapi/error_codes.hpp>
#include <string.h>
#include <msodbcsql.h>
#include "odbc_utils.hpp"
+ Include dependency graph for bcp.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_USE_ERRCODE_X   Dbapi_Odbc_Cmds
 
#define NCBI_DATABASE_THROW(ex_class, message, err_code, severity)    NCBI_ODBC_THROW(ex_class, message, err_code, severity)
 
#define GetDbgInfo()   0
 
#define DBDATETIME4_days(x)   ((x)->numdays)
 
#define DBDATETIME4_mins(x)   ((x)->nummins)
 
#define DBNUMERIC_val(x)   ((x)->val)
 
#define SQL_VARLEN_DATA   (-10)
 

Typedefs

typedef SQL_SS_TIMESTAMPOFFSET_STRUCT DBTIMESTAMP
 

Macro Definition Documentation

◆ DBDATETIME4_days

#define DBDATETIME4_days (   x)    ((x)->numdays)

Definition at line 60 of file bcp.cpp.

◆ DBDATETIME4_mins

#define DBDATETIME4_mins (   x)    ((x)->nummins)

Definition at line 61 of file bcp.cpp.

◆ DBNUMERIC_val

#define DBNUMERIC_val (   x)    ((x)->val)

Definition at line 62 of file bcp.cpp.

◆ GetDbgInfo

#define GetDbgInfo ( )    0

Definition at line 56 of file bcp.cpp.

◆ NCBI_DATABASE_THROW

#define NCBI_DATABASE_THROW (   ex_class,
  message,
  err_code,
  severity 
)     NCBI_ODBC_THROW(ex_class, message, err_code, severity)

Definition at line 47 of file bcp.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Dbapi_Odbc_Cmds

Definition at line 44 of file bcp.cpp.

◆ SQL_VARLEN_DATA

#define SQL_VARLEN_DATA   (-10)

Definition at line 63 of file bcp.cpp.

Typedef Documentation

◆ DBTIMESTAMP

Definition at line 64 of file bcp.cpp.

Modified on Wed Jul 24 17:21:06 2024 by modify_doxy.py rev. 669887