UFN_GETLISTSORTMETHOD
Return
| Return Type |
|---|
| tinyint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @LISTKEY | nvarchar(100) | IN |
Definition
Copy
CREATE function dbo.UFN_GETLISTSORTMETHOD(@LISTKEY nvarchar(100))
returns tinyint with execute as caller
as
begin
declare @i tinyint
select @i = SORTMETHOD from dbo.LISTSORTMETHOD where LISTKEY = @LISTKEY
return @i
end