If all you want is the data as text all you need to do is select it as you
would any column then pass it to an XMLParse in ColdFusion..

You use XQuery in 2005 to search the XML.






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Archie Campbell
To: CF-Talk
Sent: Sat Dec 09 01:11:34 2006
Subject: Direct query access to  XML elements saved in a MS SQL 2005 field
of type "XML"

I have a new CF7 web system that stores fields from a PDF form in an MS 
SQL 2005 table field of type XML.

I know I can do a query that extracts the XML field that I can then get 
into using XMLParse.

What I am wondering is how to do a SQL query that will directly extract 
certain XML elements from the XML data field making them available as 
fields to the subsequent query processing.

Thanks

Archie



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263400
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to