sys.parameter_type_usages (Transact-SQL)

 

Updated: June 10, 2016

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Returns one row for each parameter that is of user-defined type.

System_CAPS_ICON_note.jpg Note


This view does not return rows for parameters of numbered procedures.

Column nameData typeDescription
object_idintID of the object to which this parameter belongs.
parameter_idintID of the parameter. Is unique within the object.
user_type_idintID 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.

Scalar Types Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)

Community Additions

ADD
Show: