UFN_KPIINSTANCESITES_GET
Returns a table holding the sites for a KPI instance.
Return
Return Type |
---|
table |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@KPIINSTANCEID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_KPIINSTANCESITES_GET
(
@KPIINSTANCEID uniqueidentifier
)
returns table
as
return
(
select
ID,
SITEID
from dbo.KPIINSTANCESITE
where
KPIINSTANCEID = @KPIINSTANCEID
)