USP_GETTASKSTATUS_CONSTITUENTMERGE
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @STATUS | tinyint | INOUT | |
| @DESCRIPTION | nvarchar(max) | INOUT |
Definition
Copy
CREATE procedure dbo.USP_GETTASKSTATUS_CONSTITUENTMERGE
(
@STATUS tinyint = null output,
@DESCRIPTION nvarchar(max) = null output
)
as begin
set @STATUS = (case when (select count(*) from dbo.CONSTITUENTMERGEPROCESS) > 0 then 2 else 0 end);
end