TTCatalogSpecialColumn Reference

This class is a wrapper for results from an ODBC SQLSpecialColumns function call on a table represented by a TTCatalogTable object.

Public Members

None

Public Methods

This section summarizes then describes the TTCatalogSpecialColumn public methods.

Public Methods Summary

Method Description

getColumnName()

Returns the name of the special column.

getDataType()

Returns the data type of the special column, as an integer.

getLength()

Returns the length of data in the special column, in bytes.

getPrecision()

Returns the precision of the special column.

getScale()

Returns the scale of the special column.

getTypeName()

Returns the data type of the special column, as a character string.

getColumnName()

const char* getColumnName()

Returns the name of the special column.

getDataType()

int getDataType()

Returns an integer representing the ODBC SQL data type of the special column. In TimesTen this can be only SQL_ROWID.

getLength()

int getLength()

Returns the length of data in the special column, in bytes.

getPrecision()

int getPrecision()

Returns the precision for data in the special column, referring to the maximum number of digits used by the data type.

getScale()

int getScale()

Returns the scale for data in the special column, referring to the maximum number of digits to the right of the decimal point.

getTypeName()

const char* getTypeName()

Returns the data type name that corresponds to the ODBC SQL data type value returned by getDataType(). In TimesTen this can be only ROWID.