This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Tool window for executing SQL queries.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – OpenXML Options – Day 35 of 35

September 4, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

OpenXML options explained: rowpattern recursion to search lower levels of your XML, and column patterns to reach one level higher, with a manager example.

Read More
XML data in SQL Server.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Preparing XML in Memory – Day 34 of 35

September 3, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

Before you can turn XML into a result set, SQL Server needs it in memory. Here is how preparing XML in memory works, with a customer order example.

Read More
SQL database query result visualization.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Shredding XML – Day 33 of 35

September 2, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

After streaming table data into XML, we go the other way. Shredding XML means turning XML data back into rows and columns that you can query.

Read More
SQL Server XML Editor Query Window.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Using Root With Auto XML Mode – Day 32 of 35

September 1, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

Beyond using root with Auto XML mode, the XML Path mode lets you show some data as attributes and some as elements. Here is how, with JProCo data.

Read More
SQL Server Management Studio Query Window.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Using Root With Auto XML Mode – Day 31 of 35

August 31, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

Add a root element to the Auto XML mode so your XML stream is well-formed, and give the root node a meaningful name with the ROOT keyword.

Read More
XSINIL XML make nulls explicit.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – What is XML Day 30 of 35

August 30, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

In What is XML Day 30, we use FOR XML RAW to output the Employee table as XML, then add ROOT to get a root node and well-formed XML.

Read More
Notepad window.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – What is XML? – Day 29 of 35

August 29, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

What is XML? A simple look at XML files as text documents, how they show the structure of your data and how to read well-formed XML at a glance.

Read More
Previous 1 2 3 4 5 6 7 8 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com