RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ColumnsColumns Class

Column names for result table from built-in stored procedure DB_ADMIN.GET_COLUMNS and DataStoreConnection.GetSchema(MetaDataCollectionName.Columns)

Pascal
ColumnsColumns = class;
C++
class ColumnsColumns;

ColumnsColumns.cs

ColumnsColumns provides the column names for the result table from the built-in stored procedure DB_ADMIN.GET_COLUMNS and DataStoreConnection.GetSchema(MetaDataCollectionName.Columns). Each row in the result table of DB_ADMIN.GET_COLUMNS describes a column from a table in a database.  

The columns of the result table are:

Constant 
Description 
Used to access the CatalogName column in the Columns metadata collection. The data in this column specifies the catalog name.  
Used to access the SchemaName column in the Columns metadata collection. The data in this column specifies the schema name.  
Used to access the TableName column in the Columns metadata collection. The data in this column specifies the table name.  
Used to access the ColumnName column in the Columns metadata collection. The data in this column specifies the column name.  
Used to access the TypeName column in the Columns metadata collection. The data in this column specifies the database specific data type name.  
Used to access the Precision column in the Columns metadata collection.The data in this column specifies the precision of this type. For a string data type, this is the maximum number of characters. For a decimal types, this is the maximum number digits including digits from the scale.  
Scale  
Used to access the Scale column in the Columns metadata collection. The data in this column specifies the scale of a decimal type.  
Used to access the Ordinal column in the Columns metadata collection. The data in this column specifies the position in the columns of the table starting with 1.  
Used to access the DefaultValue column in the Columns metadata collection. The data in this column specifies the default value.  
Used to access the IsNullable column in the Columns metadata collection. The data in this column specifies that the column can accept NULL values.  
Used to access the IsAutoIncrement column in the Columns metadata collection. The data in this column specifies that the column is an autoincrement value.  
Used to access the MaxInline column in the Columns metadata collection. The data in this column specifies the maximal number of bytes to write into row. The rest of the data is handled as a blob (Blackfish SQL only).  
Used to access the DbxDataType column in the Columns metadata collection. The data in this column specifies the DBX data type.  
Used to access the IsFixedLength column in the EndColumns metadata collection.The data in this column specifies that the column holds fixed length data.  
Used to access the IsUnicode column in the Columns metadata collection. The data in this column specifies that the column can hold unicode characters.  
IsLong  
Used to access the IsLong column in the Columns metadata collection. The data in this column specifies that the column is a blob data type.  
Used to access the IsUnsigned column in the Columns metadata collection. The data in this column specifies that the column is an unsigned numeric type.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!