UFN_REPORT_GETID
Returns a report name for a given ID.
Return
| Return Type |
|---|
| uniqueidentifier |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @NAME | nvarchar(100) | IN |
Definition
Copy
create function dbo.UFN_REPORT_GETID(@NAME nvarchar(100))
returns uniqueidentifier
as
begin
declare @RETURNVALUE uniqueidentifier;
select @RETURNVALUE = ID from dbo.REPORTCATALOG where NAME = @NAME;
return @RETURNVALUE;
end;