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