Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cSQLColumnInfo Struct Reference

#include <cSQLConfig.h>

Public Member Functions

void SetClear () noexcept
 

Public Attributes

cStringA m_strName
 SQL_COLUMN_NAME. More...
 
SQL_TYPE_t m_nSQLType
 SQL_COLUMN_TYPE = ODBC/Driver/Internal data type (SQL_BINARY) VARTYPE_TYPE. See Cvt_ODBCType_to_CType() More...
 
SQL_SCALE_t m_nScale
 SQL_COLUMN_SCALE. // AKA ColumnSize, SWORD or SQLSMALLINT. e.g. nvarchar(nScale) for max size of string. More...
 
INT16 m_nPrecision
 SQL_COLUMN_PRECISION. // SQLULEN = 64 or 32 bit. AKA DecimalDigits. More...
 
bool m_bNullability
 SQL_COLUMN_NULLABLE. More...
 
VARTYPE_TYPE m_eVarType
 My internal type equiv to m_nSQLType. More...
 

Detailed Description

Define meta data for field/column in a table from SQL schema. will correspond to a SQL_COLUMN_t Equiv to MFC cODBCFieldInfo. Get Meta data from ODBC SQLDescribeCol call.

Member Function Documentation

◆ SetClear()

void GrayLib::cSQLColumnInfo::SetClear ( )
inlinenoexcept

Member Data Documentation

◆ m_bNullability

bool GrayLib::cSQLColumnInfo::m_bNullability

SQL_COLUMN_NULLABLE.

◆ m_eVarType

VARTYPE_TYPE GrayLib::cSQLColumnInfo::m_eVarType

My internal type equiv to m_nSQLType.

◆ m_nPrecision

INT16 GrayLib::cSQLColumnInfo::m_nPrecision

SQL_COLUMN_PRECISION. // SQLULEN = 64 or 32 bit. AKA DecimalDigits.

◆ m_nScale

SQL_SCALE_t GrayLib::cSQLColumnInfo::m_nScale

SQL_COLUMN_SCALE. // AKA ColumnSize, SWORD or SQLSMALLINT. e.g. nvarchar(nScale) for max size of string.

◆ m_nSQLType

SQL_TYPE_t GrayLib::cSQLColumnInfo::m_nSQLType

SQL_COLUMN_TYPE = ODBC/Driver/Internal data type (SQL_BINARY) VARTYPE_TYPE. See Cvt_ODBCType_to_CType()

◆ m_strName

cStringA GrayLib::cSQLColumnInfo::m_strName

SQL_COLUMN_NAME.


The documentation for this struct was generated from the following file: