UFN_CATEGORYDEFINITION_GETCATEGORY
Return
| Return Type |
|---|
| nvarchar(9) |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_CATEGORYDEFINITION_GETCATEGORY(@ID uniqueidentifier) returns nvarchar(9)
as
begin
declare @category nvarchar(9);
select @category = CATEGORY from dbo.CATEGORYDEFINITION where ID = @ID;
return @category;
end