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