ADMIN_OrderBy_GetColumn

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

This function is only intended to be used with the grid component and not elsewhere.
Finds the column name and its sort order options from the list specified.

Return value: varchar(300)

Returns the column name from the list, including the options 'asc' or 'desc' if they were specified.

Parameters

@OrderBy mandatory varchar(8000)
The comma separated list containing column names or ordinals
@ColumnName mandatory varchar(300)
The name of the column to be returned