ColumnName
|
DataType
|
Description
|
|---|
table_catalog
|
String
|
Catalog of the table.
|
table_schema
|
String
|
Schema that contains the table.
|
table_name
|
String
|
Table name.
|
column_name
|
String
|
Column name.
|
ordinal_position
|
Int16
|
Column identification number.
|
column_default
|
String
|
Default value of the column
|
is_nullable
|
String
|
Nullability of the column. If this column allows NULL, this column returns YES. Otherwise, NO is returned.
|
data_type
|
String
|
System-supplied data type.
|
character_maximum_length
|
Int32 for SQL Server 2000 and later, Int16 for SQL Server 7.0
|
Maximum length, in characters, for binary data, character data, or text and image data. Otherwise, NULL is returned.
|
character_octet_length
|
Int32 for SQL Server 2000 and later, Int16 for SQL Server 7.0
|
Maximum length, in bytes, for binary data, character data, or text and image data. Otherwise, NULL is returned.
|
numeric_precision
|
Unsigned Byte
|
Precision of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, NULL is returned.
|
numeric_precision_radix
|
Int16
|
Precision radix of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, NULL is returned.
|
numeric_scale
|
Int32
|
Scale of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, NULL is returned.
|
datetime_precision
|
Int16
|
Subtype code for datetime and SQL-92 interval data types. For other data types, NULL is returned.
|
character_set_catalog
|
String
|
Returns master, indicating the database in which the character set is located, if the column is character data or text data type. Otherwise, NULL is returned.
|
character_set_schema
|
String
|
Always returns NULL.
|
character_set_name
|
String
|
Returns the unique name for the character set if this column is character data or text data type. Otherwise, NULL is returned.
|
collation_catalog
|
String
|
Returns master, indicating the database in which the collation is defined, if the column is character data or text data type. Otherwise, this column is NULL.
|
IS_FILESTREAM
|
String
|
YES if the column has FILESTREAM attribute.
NO if the column does not have FILESTREAM attribute.
|
IS_SPARSE
|
String
|
YES if the column is a sparse column.
NO if the column is not a sparse column.
|
IS_COLUMN_SET
|
String
|
YES if the column is a column set column.
NO if the column is not a column set column.
|