UFN_AMPROIMPORT_CONSTITUENTISREGISTRANT
Returns true if a constituent is already a registrant of an event.
Return
| Return Type |
|---|
| bit |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @CONSTITUENTID | uniqueidentifier | IN | |
| @EVENTID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_AMPROIMPORT_CONSTITUENTISREGISTRANT
(
@CONSTITUENTID uniqueidentifier,
@EVENTID uniqueidentifier
)
returns bit
as
begin
if exists(select ID from dbo.REGISTRANT where EVENTID = @EVENTID and CONSTITUENTID = @CONSTITUENTID)
return 1;
return 0;
end