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