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