UFN_COMMUNICATIONEXCLUSIONS_SYSTEMDEFAULTCOUNT

Counts the number Communication exclusions marked as the system default.

Return

Return Type
int

Definition

Copy


create function dbo.UFN_COMMUNICATIONEXCLUSIONS_SYSTEMDEFAULTCOUNT()
returns int
as begin
    return (select count(*) from dbo.COMMUNICATIONEXCLUSIONS where ISSYSTEMDEFAULT = 1);
end