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 - Denali - New Functions and Shorthand for CASE Statement

SQL SERVER – Denali – New Functions and Shorthand for CASE Statement

September 13, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Do the new Denali functions replace the CASE statement? No. They are shorthand for CASE statement logic, and TRY_PARSE works well with CASE.

Read More
Two groups of blue ceramic beads on terracotta and sage cloths beneath an unmarked wooden tool.

XML Namespaces: Match the Namespace URI, Not Just the Tag

September 12, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL XML

XML Namespaces are part of element identity, so a matching tag name alone can still miss a node. I compare three paths against one document. The namespace URI stays the same while the query binding changes.

Read More
disaster

SQL SERVER – DBA Quiz 2011 – All was well few moments before all went wrong – Reasons and Resolutions

September 12, 2011
Pinal Dave
SQL Puzzle

My question in DBA Quiz 2011 comes from a real incident: a query that always worked fine suddenly did not. Share your reasons and resolutions.

Read More
SQL SERVER 2012 - Logical Function CHOOSE() - A Quick Introduction

SQL SERVER 2012 – Logical Function CHOOSE() – A Quick Introduction

September 11, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

A quick introduction to the logical function CHOOSE() in SQL Server 2012: it returns the value at a given index from a list, or NULL when out of range.

Read More
IIF() Function Result.

SQL SERVER – Denali – Logical Function – IIF() – A Quick Introduction

September 10, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

A quick introduction to the IIF function in SQL Server Denali, a shorthand for the CASE statement that returns one of two values. It can be nested too.

Read More
SQL SERVER - Denali - Conversion Function - Difference between PARSE(), TRY_PARSE(), TRY_CONVERT()

SQL SERVER – Denali – Conversion Function – Difference between PARSE(), TRY_PARSE(), TRY_CONVERT()

September 9, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

SQL Server Denali adds a new conversion function trio: PARSE(), TRY_PARSE() and TRY_CONVERT(). Here are the differences, answered as questions.

Read More
TRY_CONVERT() execution plan result.

SQL SERVER – Denali – Conversion Function – TRY_CONVERT() – A Quick Introduction

September 8, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Meet the TRY_CONVERT function in SQL Server Denali. It behaves like CONVERT, except a failed conversion gives you NULL rather than an error.

Read More
Previous 1 … 572 573 574 575 576 577 578 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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