UFN_STANDINGORDERSIMPORTPROCESS_GETIDBYNAME
Returns an ID for a given standing orders import process name.
Return
| Return Type |
|---|
| uniqueidentifier |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @NAME | nvarchar(255) | IN |
Definition
Copy
create function dbo.UFN_STANDINGORDERSIMPORTPROCESS_GETIDBYNAME
(
@NAME nvarchar(255)
)
returns uniqueidentifier
as
begin
declare @ID uniqueidentifier;
select @ID = ID from dbo.STANDINGORDERSIMPORTPROCESS where NAME = @NAME;
return @ID;
end;