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
An old accordion on a chair with deeply creased, worn bellows from constant squeezing and stretching

Finding Databases With Auto Shrink or Auto Close Turned On

February 24, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, Shrinking Database, SQL Server Configuration

Find auto shrink and auto close settings, generate reviewed correction commands, inspect model, and check the effects of prior shrink work.

Read More
Two lobster pots on a harbor quay, one crammed with seaweed and shells, the other holding one lobster.

Query Store Capture Modes: ALL, AUTO and CUSTOM

January 10, 2014
Pinal Dave
SQL Performance
Query Store, SQL Performance, SQL Server, SQL Server Configuration

Choose a Query Store capture mode for your workload, inspect ALL, AUTO, CUSTOM and NONE, and tune thresholds without losing useful history.

Read More
An open cottage door painted green outside, still red on the inside.

Renaming the Windows Server Under SQL Server: Fixing @@SERVERNAME

September 14, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server Configuration, SQL Server Installation, Windows

After renaming the Windows server, repair SQL Server’s local name with sp_dropserver and sp_addserver, then verify dependent services.

Read More
Three tall windows with pale blinds set at different angles, sunlight falling in strips across the floor.

Query Options in SSMS: Settings That Change Your Results

August 26, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Scripts, SQL Server Configuration, SQL Server Management Studio

Query Options are the per-window settings in SSMS that change how a query runs and how its results look. This post covers results to grid, text or file, the character limits that cut long values, the SET options that change answers, and why SSMS and your application can disagree.

Read More
A spider plant in a red pot with baby plantlets that share its brown leaf tip.

What the model Database Passes to Every New Database

March 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Server Configuration, System Database

Audit the model database template for recovery model, options, objects, and file size, then verify growth settings on new databases.

Read More
Gouache painting of mechanical components organized in fitted compartments, with a selected impeller beside its empty storage recess.

SQL Server Version and Edition: SQL in Sixty Seconds #043

February 13, 2013
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Instance, SQL Scripts, SQL Server Configuration

To find the SQL Server version and edition, read SERVERPROPERTY instead of parsing @@VERSION. The tests here show every useful property on SQL Server 2025, why ProductLevel can say RTM after an update, and how to read the version from the ERRORLOG.

Read More
Gouache painting of a sealed envelope travelling along a wooden rail into an open blue mailbox.

Configure Database Mail in SQL Server: SQL in Sixty Seconds #039

January 16, 2013
Pinal Dave
SQL Video
Database Mail, SQL in Sixty Seconds, SQL Server Agent, SQL Server Configuration

To configure Database Mail, you need an SMTP account, a profile and permission to use it. The tests here build all three with T-SQL on SQL Server 2025, show the exact errors for missing access, and follow a failed send through the mail log.

Read More
Previous 1 … 13 14 15 16 17 18 19 … 23 Next
  • Books
  • Testimonials
  • Privacy Policy

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