UFN_PROGRAMS_GETLOCATIONS_TOITEMLISTXML
Used to convert the results of UFN_PROGRAMS_GETLOCATIONS to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@PROGRAMID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 1/27/2010 6:49:50 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_PROGRAMS_GETLOCATIONS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_PROGRAMS_GETLOCATIONS_TOITEMLISTXML](
@PROGRAMID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [CAPACITY], [LOCATIONID], [NAME]
FROM dbo.[UFN_PROGRAMS_GETLOCATIONS](@PROGRAMID)
for xml raw('ITEM'),type,elements,root('LOCATIONS'),BINARY BASE64
)
END