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
Aug19

SQL SERVER – Disable All the Trigger of Current Database

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

Another way to disable all the trigger objects in the current database: a stored procedure by Manish Kaushik that loops over each table and disables them.

Continue Reading
Aug18

SQL SERVER – Detailed Explanation of Transaction Lock, Lock Type, Avoid Locks

Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts, SQL Server Security, SQL Transactions
28 Comments

How do you find which table has a transaction lock and what lock type it is? Imran Mohammed explains it for SQL Server 2000 and 2005, and how to avoid locks.

Continue Reading
Aug17

Stable Weekday Numbers Without Changing DATEFIRST

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

Stable weekday numbers use a fixed Monday anchor and negative-safe modulo. Map Monday to one without changing DATEFIRST or session language.

Continue Reading
Aug17

Generating Backup Commands for Every Database With STRING_AGG

Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Scripts, SQL String
No Comments

Use STRING_AGG for generating backup commands with copy-only backups, checksums, safe database names, and dated files for careful review.

Continue Reading
Aug16

SQL Server Tips: Temporary Tables, Constraints and Agent

Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Server Agent, SQL TempDB
2 Comments

Temporary tables, constraints and SQL Server Agent each solve a different problem. Choose an appropriate temporary-table scope, use declarative rules for data integrity and give scheduled jobs clear ownership and failure handling.

Continue Reading
Aug15

sp_refreshsqlmodule: Refreshing Views and Procedures After a Table Change

Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL View
1 Comment

Use sp_refreshsqlmodule to refresh changed table dependencies, inspect stale view columns, and protect stable contracts with schema binding.

Continue Reading
Aug15

SQL SERVER – 2008 – Introduction to Online Indexing Operation

Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server
4 Comments

An introduction to online indexing in SQL Server, which lets you create or rebuild an index while the table stays available to your app.

Continue Reading
Previous 1 … 748 749 750 751 752 753 754 … 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