TYPEPROPERTY
catalog lookup
What changes
- Input
- catalog metadata (object, column, index, file, database properties)
- Output or change
- id, name or property value
- Return type
- int
Syntax at a glance
TYPEPROPERTY (type , property)
Work example
Inspect a documented property of a type by name.
Use schema-qualified names and test missing and permission-hidden objects separately.
Check your work Qualify user-defined types and check database context.
Open Microsoft Learn for full syntax, permissions, and details for your version.