Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sys.function_order_columns (Transact-SQL)
Collapse the table of content
Expand the table of content

sys.function_order_columns (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

Returns one row per column that is a part of an ORDER expression of a commmon language runtime (CLR) table-valued function.

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

Column name

Data type

Description

object_id

int

ID of the object (CLR table-valued function) the order is defined on.

order_column_id

int

ID of the order column. order_column_id is unique only within object_id.

order_column_id represents the position of this column in the ordering.

column_id

int

ID of the column in object_id.

column_id is unique only within object_id.

is_descending

bit

1 = order column has a descending sort direction.

0 = order column has an ascending sort direction.

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.

Community Additions

ADD
Show:
© 2015 Microsoft