UFN_CAMPAIGN_GETSITES
Returns all sites for a given campaign.
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @CAMPAIGNID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_CAMPAIGN_GETSITES
(
@CAMPAIGNID uniqueidentifier
)
returns table
as
return
(
select
ID, SITEID
from
dbo.CAMPAIGNSITE
where
CAMPAIGNSITE.CAMPAIGNID = @CAMPAIGNID
)