UFN_FUNCTIONALAREA_DEFAULTCOUNT
Return
Return Type |
---|
int |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@FUNCTIONALAREAID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_FUNCTIONALAREA_DEFAULTCOUNT
(
@FUNCTIONALAREAID uniqueidentifier
)
returns int
with execute as caller
as begin
return (select count(*) from dbo.TASKCATALOG where FUNCTIONALAREAID = @FUNCTIONALAREAID and ISFUNCTIONALAREADEFAULT = 1)
end