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
May24

PowerShell – Querying SQL Server From Command Line

Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, SQL Scripts, SQL Server
2 Comments

A client’s deployment scripts got me curious about PowerShell. Here is how to start querying SQL Server from the command line with a PowerShell script.

Continue Reading
May23

SQL SERVER – What is Trace Flag – An Introduction

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

What is a trace flag, how do you turn one on, and how do you keep it after a restart? A beginner’s introduction, including the startup parameter option.

Continue Reading
May22

SQL Domain Controller – Interview Question of the Week #072

Pinal Dave
SQL Interview Questions and Answers
SQL Domain Controller, SQL Server
2 Comments

SQL domain controller questions: can SQL Server run on one? Five interview answers, checked against Microsoft’s current guidance, one corrected.

Continue Reading
May21

SQL Server 2016 – Introducing AutoGrow and Mixed_Page_Allocations Options – TraceFlags

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2016, TraceFlags
1 Comment

A reader asked if trace flags 1117 and 1118 work for user databases. SQL Server 2016 turns them into the AutoGrow and Mixed_Page_Allocations options.

Continue Reading
May20

Counting Partitions per Table and Spotting Empty Ones

Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table
No Comments

A quick count said 8 partitions, but the table has 4. Here is where the extra rows came from and how to spot empty partitions.

Continue Reading
May19

SQL SERVER – Handling XML Documents – Notes from the Field #125

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

Stuart Ainsworth shares a client case of importing XML documents into a staging table and what he learned about using XQuery methods in SQL Server.

Continue Reading
May18

SQL SERVER 2016 – Management Studio Highlighting Current Line Option

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2016, SQL Server Management Studio
6 Comments

Something felt odd in SSMS 2016: the current line highlight. Here is the option that controls Highlighting Current Line and how to change it.

Continue Reading
Previous 1 … 323 324 325 326 327 328 329 … 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