18 SQLSMALLINT GetBindDataType()
const;
25 const std::wstring&
GetName()
const {
return _name; }
27 void BindAt(SQLHANDLE hstmt,
int index);
29 void GetDataAt(SQLHANDLE hstmt,
int index);
const std::wstring & GetName() const
get the name of the column
Definition: Column.h:25
static const SQLINTEGER INVALID_SIZE
invalid data size
Definition: Buffer.h:23
void operator=(const ODBCColumn &)
copy operator for data only, not binding
Definition: Column.cpp:21
bool IsBound() const
returns true if the column has been bound to a statement
Definition: Column.h:21
virtual ~ODBCColumn()
Definition: Column.cpp:27
ODBCColumn(const ODBCColumn &column)
Definition: Column.cpp:14
void BindAt(SQLHANDLE hstmt, int index)
bind the column to a statement at a given index
Definition: Column.cpp:63
An ODBC column.
Definition: Column.h:10
void GetDataAt(SQLHANDLE hstmt, int index)
get all column data
Definition: Column.cpp:78
An ODBC column.
Definition: Buffer.h:10