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
Feb24

Normalisation in Plain Words, and When to Stop

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

Understand normalisation through one order example, then decide when a reporting copy is worth the cost of keeping duplicated data consistent.

Continue Reading
Feb23

Error 2714: There Is Already an Object Named MyFirstTable

Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Constraint and Keys, SQL Error Messages, SQL Scripts
2 Comments

Error 2714 reported that MyFirstTable already existed, but the client found no such table. A query on sys.objects showed a primary key constraint with that name on another table. Creating the table under another name, or renaming the key, fixes it.

Continue Reading
Feb22

AT TIME ZONE Twice: Convert UTC to Local Time in SQL Server

Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server
No Comments

AT TIME ZONE twice converts UTC to local time in SQL Server. The first use labels a plain value as UTC and the second converts it. A demo shows the common one step mistake, stores in three cities, and the missing and repeated hours of daylight saving.

Continue Reading
Feb19

Multiple Backup Copies Stripped – SQL in Sixty Seconds #156

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL in Sixty Seconds, SQL Server, SQL Server Management Studio
No Comments

Yesterday I blogged about SQL SERVER – Creating Multiple Backup Copies. I got an amazing response to the blog post. Let us learn it today.

Continue Reading
Feb18

SQL SERVER – Creating Multiple Backup Files – Stripped

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, SQL Server Management Studio
3 Comments

Multiple Backup Files can form one striped backup set. A customer wanted several files for a single database backup.

Continue Reading
Feb17

SQL SERVER – Availability Groups Can Propagate Database Compatibility Level

Pinal Dave
SQL Tips and Tricks
AlwaysOn, Compatibility Level, SQL High Availability, SQL Mirroring, SQL Server
1 Comment

Propagation of Compatibility Level needs verification on the actual availability-group topology. I compare each replica through its own connection.

Continue Reading
Feb16

Escape Text for JSON: Build Valid JSON With STRING_ESCAPE

Pinal Dave
SQL Tips and Tricks
JSON, Quotes, SQL Scripts, SQL Server, SQL String
No Comments

To escape text for JSON, pass each value through STRING_ESCAPE, so JSON built by hand stays valid. A demo shows which characters it escapes and which it leaves alone. It also shows when JSON_MODIFY and FOR JSON make it unnecessary.

Continue Reading
Previous 1 … 77 78 79 80 81 82 83 … 846 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