• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

kliu
#1 Posted : Thursday, July 26, 2007 10:18:08 AM(UTC)
kliu

Rank: Member

Joined: 4/5/2007(UTC)
Posts: 22

Dear Support:
You know in the table 'BVC_order', some feilds is using ntext type(XML) such as shippingaddress and billing address. How can I use sql (for example, stored procedure)to get these subfields value such as Firstname and lastname or address. Please give some suggestions. Thanks alot.

Have a good day!



Kevin
bvcoder
#2 Posted : Sunday, August 5, 2007 7:14:55 PM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

Well, as a general rule, u could retrieve the complete xml, load it into an XML Document and then get teh node contents using XPath.

You might want to use XML Document's SelectSingleNode method to get the XMLNode and then do an innertext of that node to get the actual value. You can repeat that process for as many nodes / attributes u might want to. Let me know if u need help with that. I can help u get that done.

SV
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012