Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Service Broker / December 2007

Tip: Looking for answers? Try searching our database.

XML and SQL Server Service Broker

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cheryl - 11 Dec 2007 23:17 GMT
I am a newbie and I have a question.  I have a service that will
receive a message that is in a XML format.  I want to parse this xml
and put the data into a table.  For instance if the xml looks like
this:

<Books>
 <Title>New Beginning</Title>
 <Cost>
    <US>$43.00</US>
    <CA>$63.00<CA>
  </Cost>

I will have a table with columns named Title, US, and CA.  The sp_
would parse out the tags and insert the correct data in the correct
column.  Please let know me know if possible inside Service Broker.

Thanks.
Bob Beauchemin - 14 Dec 2007 18:54 GMT
Parsing XML is not a Service Broker function, but is a function that can be
accomplished using the nodes method on the XML data type.

Cheers,
Bob Beauchemin
SQLskills

>I am a newbie and I have a question.  I have a service that will
> receive a message that is in a XML format.  I want to parse this xml
[quoted text clipped - 13 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.