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
Gouache painting of a pegboard with a spoon, a vermilion-handled screwdriver, a brush, a scoop and a mallet hanging in a row

Custom Query Shortcuts in SSMS: Run Your Own Procedure

November 19, 2020
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio, SQL Shortcut, SQL Stored Procedure

Custom query shortcuts in SSMS run a stored procedure of your own on the text you have selected. This post writes a small procedure that explains any session, tests it the way the shortcut calls it, assigns it to a free key, and explains which keys you can use.

Read More
Repeated source tiles sit beside a distinct selection tray and a separate two-tile jig.

SQL SERVER – Logical Processing Order of the SELECT Statement

November 18, 2020
Pinal Dave
SQL Tips and Tricks
SQL Operator, SQL Performance, SQL Scripts, SQL Server

Logical Processing places DISTINCT before TOP in a SELECT statement. Questions after my video prompted this explanation.

Read More
Gouache painting of a row of watered garden beds with one bed covered by a vermilion tarp

sp_autostats: See and Undo Automatic Statistics Updates

November 17, 2020
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Configuration, SQL Statistics

The sp_autostats procedure shows and changes the automatic statistics update setting of one table, one index or one statistic. This post turns the setting off for a table, flips it back for one index, undoes it, and shows that the database level setting and the statistics themselves are untouched.

Read More
A row of market shutters locked with heavy padlocks at night, one held shut only by a twist of wire.

CHECK_POLICY and CHECK_EXPIRATION for SQL Logins

November 16, 2020
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Password, SQL Server Security

Audit CHECK_POLICY and password expiration for SQL logins, inspect LOGINPROPERTY evidence, and plan safe service-account exceptions.

Read More
Gouache painting of a cream ribbon running off a counter edge beside a tidy roll of wound cream and vermilion ribbon

Word Wrap in SSMS: Wrap Long Lines of T-SQL

November 13, 2020
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Configuration, SQL Server Management Studio

Word wrap in SSMS folds a long line of T-SQL at the edge of the window, so you read it without scrolling sideways. This post shows where to turn it on for every window, how to show the wrap marks, how to switch it for one window, and why it never changes your script.

Read More
An open folio remains available at the workbench beside a separate storage cabinet.

SQL SERVER – What is Logical Read?

November 12, 2020
Pinal Dave
SQL Performance
SQL Server, SQL Server Management Studio, SQL Statistics

A logical read requests a database page through the buffer cache. A customer asked about that measure after my STATISTICS IO video.

Read More
Bench, work-area and workpiece controls operate at three distinct scopes.

SQL SERVER – 3 Different Ways to Set MAXDOP

November 11, 2020
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

There are 3 different MAXDOP scopes: instance, database and statement. Readers of my 16-versus-1 demonstration asked where to configure it.

Read More
Previous 1 … 84 85 86 87 88 89 90 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com