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
Aug12

SQL SERVER – Backup master Database Interval – master Database Best Practices

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Backup and Restore
23 Comments

How often should you back up master? It holds logins and server settings, so here are my master database best practices for backup timing.

Continue Reading
Aug11

SQL SERVER – Discussion – Effect of Missing Identity on System – Real World Scenario

Pinal Dave
SQL Puzzle
Database, DBA, SQL Constraint and Keys, SQL Index
6 Comments

Is there any real world reason to list a missing identity in a table? Readers had no new script, but a lively discussion on whether gaps matter.

Continue Reading
Aug10

Modulo: Negative Values Keep the Dividend Sign

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

Modulo can return a negative remainder for a negative dividend. A second expression normalizes a positive-divisor bucket while keeping the original input and remainder visible.

Continue Reading
Aug9

SQLAuthority News – Interview with SQL Server MVP Glenn Berry

Pinal Dave
SQLAuthority News
Database, MVP
9 Comments

My interview with SQL Server MVP Glenn Berry, Database Architect at NewsGator and longtime SQL Server teacher at University of Denver.

Continue Reading
Aug8

SQL Server – Multiple CTE in One SELECT Statement Query

Pinal Dave
SQL Tips and Tricks
CTE, SQL Joins, SQL Scripts
73 Comments

How do you use multiple CTE in one SELECT statement? Two simple examples: independent CTEs joined together, and a second CTE built on the first.

Continue Reading
Aug7

Calculating Age From a Date of Birth Correctly in T-SQL

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

Use an explicit anniversary rule for calculating age in T-SQL, including February 29, years-months-days output and birthday lookups.

Continue Reading
Aug6

SQL SERVER – Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime

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

Get the time in Hour:Minute Format, or just the date, from a DATETIME with CONVERT styles 108 and 101, or with the TIME and DATE types in SQL Server 2008.

Continue Reading
Previous 1 … 693 694 695 696 697 698 699 … 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