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
Sep11

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server
14 Comments

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.

Continue Reading
Sep10

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts
12 Comments

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.

Continue Reading
Sep9

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server
8 Comments

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

Continue Reading
Sep8

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts
10 Comments

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

Continue Reading
Sep7

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts
10 Comments

A quick introduction to the TRY_PARSE function in SQL Server Denali: it converts a string to a number or date, and returns NULL when it cannot.

Continue Reading
Sep7

Converting XML Documents to JSON With FOR JSON PATH

Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server
No Comments

A partner asks for JSON from your XML export. Build the nested shape, decide what an empty order looks like, and avoid the escaped-array surprise.

Continue Reading
Sep6

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

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts
16 Comments

A quick introduction to the PARSE function in SQL Server Denali: convert a string to a number or a date and time, and see what happens when it fails.

Continue Reading
Previous 1 … 578 579 580 581 582 583 584 … 847 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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