UFN_CONSTITUENT_ISREGISTRANT
Returns if constituent is registrant for any/all events.
Return
| Return Type |
|---|
| bit |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_CONSTITUENT_ISREGISTRANT(@ID uniqueidentifier)
returns bit
with execute as caller
as
begin
if exists(
select
ID
from
dbo.REGISTRANT
where
CONSTITUENTID = @ID)
return 1;
return 0;
end