Export (0) Print
Expand All

sys.column_type_usages (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

Contains one row for each column that is of user-defined type.

Applies to: SQL Server (SQL Server 2008 through current version).

Column name

Data type

Description

object_id

int

ID of the object to which this column belongs.

column_id

int

ID of the column. Is unique within the object.

user_type_id

int

ID of the user-defined type.

To return the name of the type, join to the sys.types catalog view on this column.

Requires membership in the public role. For more information, see Metadata Visibility Configuration.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft