TYPE_NAME
catalog lookup
What changes
- Input
- catalog metadata (object, column, index, file, database properties)
- Output or change
- id, name or property value
- Return type
- sysname
Syntax at a glance
TYPE_NAME ( type_id )
Work example
Resolve a type identifier to its visible type name.
Use schema-qualified names and test missing and permission-hidden objects separately.
Check your work Use the correct database id when the type belongs outside the current database.
Open Microsoft Learn for full syntax, permissions, and details for your version.