Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

SqlColumnInfo

 

struct SqlColumnInfo : public Moveable<SqlColumnInfo

This strusture is used to describe a column of SQL database table. Validity and exact meaning of attributes depends on database used, except for name, type and nullable which are always valid.

 

 

Public Member List

 

String name

The name of column.

 


 

int type

The type of column as Value type id. One of INT_V, DOUBLE_V, DATE_V, TIME_V, WSTRING_V, STRING_V, SQLRAW_V, INT64_V, BOOL_V; exact set of values permitted depends on database engine used.

 


 

int width

Size of column.

 


 

int precision

Number of total digits in numeric types.

 


 

int scale

Number of digits after comma in numeric types.

 


 

bool nullable

Column can contain NULL values.

 


 

bool binary

Column contains binary data.

 

 

Last edit by cxl on 09/17/2012. Do you want to contribute?. T++