UFN_REVENUESPLIT_GETCAMPAIGNS_TOITEMLISTXML
Used to convert the results of UFN_REVENUESPLIT_GETCAMPAIGNS to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@REVENUESPLITID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:37:33 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_REVENUESPLIT_GETCAMPAIGNS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_REVENUESPLIT_GETCAMPAIGNS_TOITEMLISTXML](
@REVENUESPLITID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [CAMPAIGNID], [CAMPAIGNSUBPRIORITYID], [ID]
FROM dbo.[UFN_REVENUESPLIT_GETCAMPAIGNS](@REVENUESPLITID)
for xml raw('ITEM'),type,elements,root('CAMPAIGNS'),BINARY BASE64
)
END