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
Nov18

Why datetime Turns .999 Milliseconds Into the Next Day

Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Server
2 Comments

See why 999 milliseconds rounds into tomorrow with datetime, compare datetime2 precision, and use an exclusive next-day report boundary.

Continue Reading
Nov17

max_length in sys.columns: Bytes, Not Characters

Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Datatype, SQL System Table
No Comments

Your generated column came out twice as wide as the original. Here is why max_length counts bytes and how to turn it back into a real declaration.

Continue Reading
Nov16

MySQL – Get Latest Identity Value by Inserts

Pinal Dave
SQL Tips and Tricks
MySQL
No Comments

In MySQL, use the LAST_INSERT_ID() function to get the latest identity value after an insert, like @@IDENTITY or SCOPE_IDENTITY() in SQL Server.

Continue Reading
Nov15

Interview Question of the Week #045 – How to Do Case Sensitive Search?

Pinal Dave
SQL Interview Questions and Answers
2 Comments

How do you do a case sensitive search in SQL Server? Use COLLATE Latin1_General_CS_AS in the query, or change the column collation to make it permanent.

Continue Reading
Nov14

SQL SERVER – Installation Failed With Error – Wait on the Database Engine Recovery Handle Failed

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Installation
7 Comments

I ran SQL Server setup on a domain controller by mistake, and the Installation Failed at ‘Wait on the Database Engine recovery handle’. Here is what fixed it.

Continue Reading
Nov13

SQL SERVER – Backup to Azure Blob error – The remote server returned an error: (409) Conflict

Pinal Dave
SQL Tips and Tricks
SQL Error Messages
1 Comment

My backup to Azure Blob started failing with The remote server returned an error: (409) Conflict. Here is what the ERRORLOG showed and what it means.

Continue Reading
Nov12

Frame Your Week: Why a Weekly Review Beats a Daily To-Do List

Pinal Dave
Personal
Career Advice, Life Lessons, Professional Development
No Comments

A weekly review beats a daily to-do list because it shows seven days of work at once. This post borrows the rolling window from SQL to show how to look back, look ahead and choose up to four outcomes. It ends with a checklist you can try this week.

Continue Reading
Previous 1 … 350 351 352 353 354 355 356 … 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