UFN_BATCH_GETSTATUSCODE
Return
| Return Type |
|---|
| tinyint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_BATCH_GETSTATUSCODE
(@ID uniqueidentifier) returns tinyint
as
begin
declare @STATUS tinyint;
select @STATUS=STATUSCODE from dbo.BATCH where ID = @ID;
return @STATUS;
end