Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-08-2012, 12:58 PM   PM User | #1
ocs2me
New to the CF scene

 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ocs2me is an unknown quantity at this point
Lightbulb urgent! SQL statement to query xml data type

Hi,guys. Thanks first for viewing. Hope to get help from here.Im new to XML.

Below is the data stored in database table under field [Root_Cause_Analysis]


<RCA>
<SUB_PROBLEM_TYPE>
MRD
</SUB_PROBLEM_TYPE>
<SUB_ROOT_CAUSE>
Elaborate below
</SUB_ROOT_CAUSE>
<ELABORATION>
The volume and keypad related features
in multi-ch behavior has been
discussed for very long time. Recently,
we received the final decision from
marketing.
</ELABORATION>
<PREVENTION>
To increase discussion effectiveness
among teams.
</PREVENTION>
</RCA>




My problem is how to select all the data inside tag?

Ex: Select Root_cause_analysis(RCA/PREVENTION) From table1....

and the result should show "To increase discussion effectiveness
among teams."
ocs2me is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:51 AM.


Advertisement
Log in to turn off these ads.