UFN_PROGRAMEVENTPREFERENCEGROUPS_GETPREFERENCEGROUPS
Returns all preference groups for a given program event.
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @EVENTID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_PROGRAMEVENTPREFERENCEGROUPS_GETPREFERENCEGROUPS(@EVENTID uniqueidentifier)
returns table
as
return
(
select ID,
NAME
from dbo.EVENTPREFERENCEGROUP
where EVENTID = @EVENTID
)