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
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
A cord passes through one reinforced brass opening in an intact canvas panel

EXECUTE AS OWNER in Stored Procedures: Power and Pitfalls

August 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

A procedure with owner rights can write to tables its caller cannot touch. Watch the identity change, and see how one careless parameter hands out too much.

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
SQL error message dialog.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Structured Error Handling – Day 28 of 35

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

Structured error handling explained with a road detour: instead of giving up at a level 16 error, your code can take another route with TRY and CATCH.

Read More
Book cover for SQL Programming Joes 2 Pros.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – SQL Server Error Messages – Day 27 of 35

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

How SQL Server error messages work: SQL Server catches most problems before your code runs, and raises an error when a statement cannot run.

Read More
SQL SERVER - Table Valued Functions - Day 26 of 35

SQL SERVER – Table Valued Functions – Day 26 of 35

August 26, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Function, SQL Scripts, SQL Server

Let us learn about table valued functions. Every day one winner from the United States will get Joes 2 Pros Volume 4.

Read More
Previous 1 … 388 389 390 391 392 393 394 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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