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 cast iron mincer clamped to a farmhouse kitchen table, a bowl waiting beneath it.

CLR Integration in SQL Server: When It Still Makes Sense

October 6, 2021
Pinal Dave
SQL Tips and Tricks
CLR, SQL Server, SQL Server Configuration, SQL Server Security

Review CLR integration uses, inventory existing assemblies, preserve strict security, and compare SQL Server 2025 built-in alternatives.

Read More
Optimize for Adhoc

Optimize for Ad Hoc Workloads – SQL in Sixty Seconds #173

June 10, 2021
Pinal Dave
SQL Video
Ad Hoc Query, Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Configuration

Today we are going to discuss if we should keep Optimize for Ad Hoc Workloads true or false. Let us see a detailed video about it.

Read More
Small retained shaping stubs remain distinct from a full reusable mold and working press.

SQL SERVER – AdHoc Queries and Optimize for Adhoc Workloads

April 16, 2021
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

Optimize for AdHoc Queries reduces the first-use plan-cache footprint of ad hoc batches. A customer variable-query workload prompted testing.

Read More
A blocked single doorway is inspected beside an unused repair-tool case.

SQL SERVER – Diagnosing SINGLE_USER Errors Without a Universal EMERGENCY Workaround

January 6, 2021
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration

Giving Error during a SINGLE_USER change requires the exact error and database state. My original case lacked enough diagnostic detail.

Read More
Gouache painting of a tightly packed shelf of jars above a shelf with spaced jars and one vermilion jar

Instance Level Fill Factor or Index Level: What to Set

December 23, 2020
Pinal Dave
SQL Performance
SQL Data Storage, SQL Index, SQL Server Configuration

An instance level fill factor is a default for every index that sets none, and an index level setting wins. This post reads the setting, measures what each fill factor costs in pages and saves in page splits, and gives a plan for choosing the level.

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
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
Previous 1 2 3 4 5 … 22 Next
  • Books
  • Testimonials
  • Privacy Policy

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