|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276,
Visits: 1,112
|
|
| Comments posted to this topic are about the item XML Query
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Today @ 3:22 AM
Points: 4,218,
Visits: 3,875
|
|
Don't wanna be too picky but from the answer: The “//*” XQuery path matches every element node in the XML document, so (b) is also incorrect. And I thought "B" was the correct one.;)
Markus Bohse
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276,
Visits: 1,112
|
|
MarkusB (7/29/2008) Don't wanna be too picky but from the answer: The “//*” XQuery path matches every element node in the XML document, so (b) is also incorrect. And I thought "B" was the correct one.;)
Yes, that's a typo on my part in the explanation :) The correct answer is (b), the explanation should have read "...so (c) is also incorrect."
Thanks! Mike C
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Yesterday @ 6:03 AM
Points: 4,787,
Visits: 1,335
|
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 9:51 AM
Points: 1,891,
Visits: 936
|
|
Very good question! Appreciate you work on this it will be valuable going forward in some of the work with xml.
Miles..
Not all gray hairs are Dinosaurs!
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 4:17 PM
Points: 2,548,
Visits: 17,356
|
|
If we win the book will it be autographed?

Chad
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276,
Visits: 1,112
|
|
Chad Crawford (7/29/2008)
If we win the book will it be autographed?  Chad
Ha :) Well, I believe my name is printed somewhere on it - that's just as good :)
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 7:27 AM
Points: 903,
Visits: 8,640
|
|
Speaking of winning the book, does SQL ServerCentral ever announce who the winners are in these contests? It'd be nice to see in the daily email.
Steve Eckhart
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 2:37 PM
Points: 7,087,
Visits: 7,142
|
|
Nice clear question and answer (apart from the typo in the explanation).
BUT: the more I see of this stuff the more I think the way XML was introduced into SQL Server was stark staring bonkers.
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276,
Visits: 1,112
|
|
Tom.Thomson (12/18/2010) Nice clear question and answer (apart from the typo in the explanation).
BUT: the more I see of this stuff the more I think the way XML was introduced into SQL Server was stark staring bonkers.
LOL. XML has an interesting history in SQL Server. In SQL 2000 (first version with built-in XML support; very minimal XML support via OPENXML and FOR XML), the XML functionality seemed to be almost an afterthought tacked on at the last minute. In SQL 2005 XML was completely re-vamped, with significant improvements (i.e., XQuery support, FOR XML PATH), but performance (and consistent performance at that) is an area that still needs to be seriously addressed. SQL 2008 added a couple of minor tweaks to XML (i.e., "let" clause in FLWOR expressions), but more complete XQuery functions and operators (F&O) support has not been implemented -- which makes it very painful to port any useful XQuery code over to SQL Server. There's a *lot* of room for improvement in SQL Server XML support... Hopefully these issues will be addressed sooner rather than later...
Mike C
|
|
|
|