UFN_ZIPCITYSTATE_GETCOUNTRIES_TOITEMLISTXML

Used to convert the results of UFN_ZIPCITYSTATE_GETCOUNTRIES to xml.

Return

Return Type
xml

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  12/17/2008 2:14:49 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_ZIPCITYSTATE_GETCOUNTRIES
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_ZIPCITYSTATE_GETCOUNTRIES_TOITEMLISTXML](
    )
returns xml
as
BEGIN

RETURN (
SELECT [COUNTRYID], [COUNTRYNAME]
 FROM dbo.[UFN_ZIPCITYSTATE_GETCOUNTRIES]()
 for xml raw('ITEM'),type,elements,root('ZIPLOOKUPCOUNTRIES'),BINARY BASE64

)

END