UFN_EVENT_GETMULTICOMPONENTEVENTAPPEALS
Returns all linked appeals for a given event and its supporting events.
Return
Return Type |
---|
table |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@EVENTID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_EVENT_GETMULTICOMPONENTEVENTAPPEALS
(
@EVENTID uniqueidentifier
)
returns table
as
return
(
select
EVENT.ID [EVENTID],
EVENT.APPEALID
from
dbo.EVENT
where
EVENT.ID = @EVENTID
or EVENT.MAINEVENTID = @EVENTID
)