The year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the Author’s Perspective. In this blog post, we will learn about methods for accessing SQL Server XML DataType.
Click here to get free chapters (PDF) in the mailbox
SQL Quiz – XML Datatype
Notes of Vinod Kumar
The standard methods of using XML are interesting. Read here for further details. Using the right option is what makes the usages remarkable, though. Just dig a little more in understanding Typed Vs Untyped XML as part of this learning.
Notes of Pinal Dave
XML is a very exciting subject. I often see two different kinds of opinion about XML; some developers like it very much while others just hate it. I have seen expert developers sweltering when they have to deal with XML.
Let me ask you one question: “If a webpage has 100 of the form element and we want to capture all of those which are filled, how would you do it?” See, there are cases where XML just works and moreover it works like a charm. Learning how to read XML data is essential.
Additional Notes
SELECT * FROM XML
Shredding XML
Validate an XML document in TSQL using XSD
Simple Example of Reading XML File Using T-SQL
Simple Example of Creating XML File Using T-SQL
Prize
There are exciting prizes awaiting the winners.
Reference: Pinal Dave (https://blog.sqlauthority.com)
1 Comment. Leave new
Thank you, your post was very helpful.