UFN_NAMEFORMATFIELD_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(50) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_NAMEFORMATFIELD_GETDESCRIPTION(@ID uniqueidentifier)
returns nvarchar(50)
as begin
if @ID is null
return '';
return coalesce((select DISPLAY from dbo.NAMEFORMATFIELD where ID=@ID), '');
end