Assuming this is MS SQL Server, I just use cf_sql_clob and don't have to do any CASTing afterwards in order to use it as XML.
Scott On Wed, May 21, 2008 at 7:25 AM, Leitch, Oblio <[EMAIL PROTECTED]> wrote: > I want to pass an xml doc to my query. What queryparam type should I > use? I assumed cf_sql_longvarchar, and toString(myXML), but it > complained about "swithing encoding". Any suggestions? -- ----------------------------------------- Scott Brady http://www.scottbrady.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305814 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

