UFN_OPPORTUNITYAMOUNTBRACKET_GETBRACKETS_2_TOITEMLISTXML
Used to convert the results of UFN_OPPORTUNITYAMOUNTBRACKET_GETBRACKETS_2 to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@OPPORTUNITYBRACKETGROUPID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:22:04 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_OPPORTUNITYAMOUNTBRACKET_GETBRACKETS_2
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_OPPORTUNITYAMOUNTBRACKET_GETBRACKETS_2_TOITEMLISTXML](
@OPPORTUNITYBRACKETGROUPID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [BASECURRENCYID], [ID], [LOWERLIMIT], [NAME], [ORGANIZATIONEXCHANGERATEID], [ORGANIZATIONLOWERLIMIT]
FROM dbo.[UFN_OPPORTUNITYAMOUNTBRACKET_GETBRACKETS_2](@OPPORTUNITYBRACKETGROUPID)
for xml raw('ITEM'),type,elements,root('OPPORTUNITYAMOUNTBRACKETS'),BINARY BASE64
)
END