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
Apr7

SET XACT_ABORT ON: Stopping Timeouts From Leaving Open Transactions

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Lock, SQL Server, SQL Transactions
No Comments

Use SET XACT_ABORT ON to prevent client timeouts from leaving transactions and locks open, with TRY CATCH and a sleeping-session query.

Continue Reading
Apr6

SQL SERVER – Fix – Error 1759 Computed column in table is not allowed to be used in another computed-column definition

Pinal Dave
SQL Tips and Tricks
SQL Error Messages
No Comments

Error 1759 appears when a computed column is used in another computed-column definition. Here is a simple repro of the error and how to avoid it.

Continue Reading
Apr5

SQL SERVER – Unable to ALTER Computed Column in SQL Server – How to ALTER Computed Column

Pinal Dave
SQL Tips and Tricks
7 Comments

Want to ALTER computed column logic in SQL Server? You cannot, it throws Msg 156. Here is how to drop and recreate the computed column instead.

Continue Reading
Apr4

SQL SERVER – Last Full Differential and Log Backup Finish Times

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server
18 Comments

I check backup time separately for full, differential and log backups. One latest timestamp cannot describe the entire recovery chain.

Continue Reading
Apr3

SQL SERVER – Say No to DB Data Roles – SQL Security – Notes from the Field #022

Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Scripts, SQL Server, SQL Server Security
4 Comments

Brian Kelley explains why he avoids the fixed DB data roles db_datareader and db_datawriter, and how they can compromise your server security.

Continue Reading
Apr2

LAG and LEAD: Comparing Each Row With the One Before It

Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Order By, SQL Server
No Comments

Use LAG and LEAD for monthly comparisons, handle defaults and percent change, choose explicit frames, and detect status transitions.

Continue Reading
Apr1

MySQL – List User Defined Tables – Two Methods

Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts, SQL Server, SQL System Table
No Comments

There are different methods to list out user defined tables in MySQL. We will see two methods in this post.

Let us create the following tables in the database named Test

Continue Reading
Previous 1 … 439 440 441 442 443 444 445 … 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