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
Aug23

SQL SERVER – Reseting Identity Values for All Tables

Pinal Dave
SQL Tips and Tricks
20 Comments

A DBA deleted all data in a loop and wondered why identity did not restart. Our long chat on resetting identity values for all tables, and why TRUNCATE helps.

Continue Reading
Aug22

SQL SERVER – Color Coding SQL Server Management Studio Status Bar – SQL in Sixty Seconds #023 – Video

Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio
9 Comments

Color code the SQL Server Management Studio status bar so you always know which server you are on before you run a script. A quick video.

Continue Reading
Aug21

Non-Updating Updates: Skipping Rows That Would Not Change

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

An UPDATE that writes the same value still marks the row as modified. I show how IS DISTINCT FROM skips those rows and keeps NULL changes.

Continue Reading
Aug20

Unique Pairs in Either Order: Blocking A-B When B-A Exists

Pinal Dave
SQL Tips and Tricks
Computed Column, Duplicate Records, SQL Constraint and Keys, SQL Index
No Comments

A plain unique index treats (1, 2) and (2, 1) as different rows. Two computed columns and one index fix that, and I test the awkward cases.

Continue Reading
Aug19

Is This Instance Patched? Reading ProductUpdateLevel and Build

Pinal Dave
SQL Tips and Tricks
Cumulative Update, SQL Instance, SQL Monitoring, SQL Patch
No Comments

An update label is one clue, the build number is the identity. I show how to read both, compare builds safely, and avoid the NULL typo trap.

Continue Reading
Aug18

SQLAuthority News – Presented at Bangalore DevCon August 4, 2012

Pinal Dave
SQLAuthority News
SQLAuthority Author Visit
3 Comments

Notes from Bangalore DevCon 2012: two tracks, 12 sessions and more than 140 attendees, plus my own session on SQL tips and tricks for web developers.

Continue Reading
Aug17

SQL SERVER – Curious Case of Disappearing Rows – ON UPDATE CASCADE and ON DELETE CASCADE – T-SQL Example – Part 2 of 2

Pinal Dave
SQL Tips and Tricks
12 Comments

Part 2 of the disappearing rows story: a T-SQL example showing how ON UPDATE CASCADE and ON DELETE CASCADE made my friend’s rows vanish, no virus involved.

Continue Reading
Previous 1 … 526 527 528 529 530 531 532 … 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