UFN_COUNTRY_GETCOUNTRYCODES_TOITEMLISTXML
Used to convert the results of UFN_COUNTRY_GETCOUNTRYCODES to xml.
Return
Return Type |
---|
xml |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 1/27/2010 7:22:11 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_COUNTRY_GETCOUNTRYCODES
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_COUNTRY_GETCOUNTRYCODES_TOITEMLISTXML](
)
returns xml
as
BEGIN
RETURN (
SELECT [COUNTRYCODE], [COUNTRYID]
FROM dbo.[UFN_COUNTRY_GETCOUNTRYCODES]()
for xml raw('ITEM'),type,elements,root('COUNTRYCODES'),BINARY BASE64
)
END