Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Stairway to XML: Level 2 - The XML Data Type


Stairway to XML: Level 2 - The XML Data Type

Author
Message
rhsheldon
rhsheldon
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 189
Comments posted to this topic are about the item Stairway to XML: Level 2 - The XML Data Type
matthewmouras
matthewmouras
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 35
At my place of work, we frequently pass xml from our applications into stored procedures. This article is clear and concise in its description of the basics when working with XML in sql server. Very nice. I'll look forward to seeing more articles in this series.
thisisfutile
thisisfutile
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 978
Enjoyed both articles and I'm learning from them. I kind of expected a little more during this step but maybe that's just me being impatient?:-D

I do have a curiosity right now and that's why doesn't the output contain the XML header info? I'm assuming it's all wrapped up in the XML datatype overhead...which will be a discussion for another, deeper step.

Thanks for writing the articles. I'm looking forward to the next installment.
Rich Weissler
Rich Weissler
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2025 Visits: 954
So far, so good. This much XML I get. I'm also looking forward to the future steps, 'cause it's the manipulation, mutilation, and otherwise consumption of XML in SQL that's making me nuts.

Thank you for tackling the topic, and I look forward to more!
JediSQL
JediSQL
SSC Journeyman
SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)

Group: General Forum Members
Points: 84 Visits: 188
Maybe it is covered in a subsequent level, but I found when I ran the first example that the XML document returned by "SELECT @ClientList" does not include the "<?xml version="1.0" encoding="UTF-8"?>" declaration line from the SET statement.

Also, when I tried to set version="1.1", SQL Server didn't like that.

Sincerely,
Daniel
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search