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
Oct15

SQL Puzzle – Schema and Table Creation – Answer Without Running Code

Pinal Dave
SQL Puzzle
Schema, SQL Scripts, SQL Server, SQL Table Operation
319 Comments

This Table Creation puzzle asks for an explanation before you run its code. I suggest examining the batch separators carefully.

Continue Reading
Oct14

MySQL OUT Parameter: IN, OUT and INOUT in Stored Procedures

Pinal Dave
SQL Tips and Tricks
MariaDB, MySQL, SQL Scripts, SQL Stored Procedure
No Comments

A MySQL OUT parameter lets a stored procedure hand a value back to the caller through a variable. This post tests IN, OUT and INOUT on a small table, shows the error you get when you pass a literal, and compares the syntax with SQL Server.

Continue Reading
Oct13

How to Know If Index is Forced on Query? – Interview Question of the Week #246

Pinal Dave
SQL Interview Questions and Answers
Query Hint, SQL Index, SQL Performance, SQL Scripts, SQL Server
No Comments

Question: How to Know If Index is Forced on Query?

Answer: Let me tell you a brief story so you understand the context of the question.

Continue Reading
Oct12

Box Selection in SSMS: Four Edits With the ALT Key

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut
2 Comments

Box selection in SSMS selects vertical text: hold the ALT key and drag the mouse across the text. This post shows four edits that the box makes quick: typing on many lines at once, deleting a column, pasting a column into a column, and moving lines with the arrow keys. Each result is a query that runs.

Continue Reading
Oct11

Select Vertical Text in SSMS: Alt Shift and Arrow Keys

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut
7 Comments

To select vertical text in SSMS, hold Alt and drag with the mouse, or hold Alt and Shift and press the arrow keys. This post explains what a vertical selection does, how to edit many lines at once and how to turn a pasted column into an IN list. It also shows a T-SQL alternative for long lists.

Continue Reading
Oct10

Remove Completion Time From the SSMS Messages Tab

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Shortcut
4 Comments

To remove completion time from the Messages tab in SSMS, clear one check box in the options. This post gives the exact steps for SSMS 22, explains why no T-SQL setting controls the line and says why old query windows keep showing it. It also shows how to print a time yourself, when a script needs one.

Continue Reading
Oct9

Setup Error 25641: Event File Target Parameter Invalid in SQL Server

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Extended Events, SQL Server, SQL Server Installation, SQL Server Security
1 Comment

Setup error 25641 stopped a SQL Server 2012 installation in a client environment. The ERRORLOG said the filename parameter for the event_file target was invalid. Process Monitor showed Access Denied for the service account on the drive that holds the LOG folder.

Continue Reading
Previous 1 … 144 145 146 147 148 149 150 … 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