Contents Index GetColumnCount method GetColumnType method pdf/preface.pdf

UltraLite User's Guide
  C++ API Reference
    ULCursor class

GetColumnSize method


Prototype 

ul_length  GetColumnSize( ul_column_num column-index )

Description 

Returns the number of bytes needed to hold the information in the specified column.

Parameters 

column-index    The number of the column. The first column in the table has a value of one.

Returns 

The number of bytes.

Example 

The following example gets the number of bytes needed to hold the third column in the table tb:

tb.Open( &conn );
colSize = tb.GetColumnSize( 3 );
See also 

GetColumnType method


Contents Index GetColumnCount method GetColumnType method pdf/preface.pdf