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 long curved sandy path around a lawn with a vermilion wheelbarrow standing on the grass

Default Query Shortcuts in SSMS: Alt+F1, Ctrl+1 and Ctrl+2

November 26, 2020
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Shortcut

The default query shortcuts in SSMS are Alt+F1, Ctrl+1 and Ctrl+2, and each runs a system procedure on the text you select. This post shows what sp_help, sp_who and sp_lock return, why sp_lock has a better replacement, and which keys you can change.

Read More
A local doorway is inspected separately from the longer route beyond the courtyard.

SQL SERVER – Database Engine TCP Port and Browser UDP Port

November 24, 2020
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Scripts, SQL Server

I inspect TCP listeners to find the actual Network port in use. A customer wanted a query rather than an assumption.

Read More
Three vessels retain a supplied tag, an older tag and an empty tag loop.

SQL SERVER – Capturing INSERT Timestamp in Table

November 23, 2020
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL DateTime, SQL Scripts, SQL Server

A default can insert timestamp values when the caller omits a datetime column. I use a session-local CURRENT_TIMESTAMP example.

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 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 … 34 35 36 37 38 39 40 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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