THIS TOPIC APPLIES TO:SQL Server (starting with 2008) Azure SQL Database Azure SQL Data Warehouse Parallel Data Warehouse
Shows the union of all columns belonging to user-defined objects and system objects.
ID of the object to which this column belongs.
Name of the column. Is unique within the object.
ID of the column. Is unique within the object.
Column IDs might not be sequential.
ID of the system-type of the column.
ID of the type of the column as defined by the user.
To return the name of the type, join to the sys.types catalog view on this column.
Maximum length (in bytes) of the column.
-1 = Column data type is varchar(max), nvarchar(max), varbinary(max), or xml.
For text columns, the max_length value will be 16 or the value set by sp_tableoption 'text in row'.
Precision of the column if numeric-based; otherwise, 0.
Scale of the column if numeric-based; otherwise, 0.
Name of the collation of the column if character-based; otherwise, NULL.
1 = Column is nullable.
1 = Column uses ANSI_PADDING ON behavior if character, binary, or variant.
0 = Column is not character, binary, or variant.
1 = Column is a declared ROWGUIDCOL.
1 = Column has identity values
1 = Column is a computed column.
1 = Column is declared to use filestream storage.
1 = Column is replicated.
1 = Column has a non-SQL Server subscriber.
1 = Column is merge-published.
1 = Column is replicated by using SSIS.
1 = Content is a complete XML document.
0 = Content is a document fragment, or the column data type is not XML.
Non-zero if the column's data type is xml and the XML is typed. The value will be the ID of the collection containing the column's validating XML schema namespace
0 = no XML schema collection.
ID of the default object, regardless of whether it is a stand-alone sys.sp_bindefault, or an in-line, column-level DEFAULT constraint. The parent_object_id column of an inline column-level default object is a reference back to the table itself.
0 = No default.
ID of the stand-alone rule bound to the column by using sys.sp_bindrule.
0 = No stand-alone rule.
For column-level CHECK constraints, see sys.check_constraints (Transact-SQL).
1 = Column is a sparse column. For more information, see Use Sparse Columns.
1 = Column is a column set. For more information, see Use Column Sets.
The numeric value representing the type of column:
0 = NOT_APPLICABLE
1 = AS_ROW_START
2 = AS_ROW_END
The text description of the type of column:
Applies to: SQL Server 2016 Community Technology Preview 3.2 (CTP 3.2) through SQL Server 2016.
The visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.