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 open wooden box holds blank recipe cards beside a separate stack on a sunlit table.

What Is In the Plan Cache and How to Look

November 19, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Inspect the SQL Server plan cache, identify single-use plans and memory use, and understand what optimize for ad hoc workloads changes.

Read More
Pasta strands arranged along a drying fan, with neighboring strands and a clear group gap

The Previous Row Before LAG Existed: A ROW_NUMBER Self-Join

November 17, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

Before LAG, we numbered rows and joined each one to its neighbor. Here is how that pattern works, where ties and NULLs bite, and how LAG compares.

Read More
A worn wooden pencil beside a fresh pencil and a small plain eraser on a tidy desk.

T-SQL Habits Worth Unlearning

November 14, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Review T-SQL habits that hide intent or create avoidable work, including SELECT star, NOLOCK, row loops, and functions on filtered columns.

Read More
A marquetry press beside panels assembled loosely and directly within a frame

Load Into a Heap or a Clustered Table: Which Bulk Load Wins

November 13, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

Loading a heap and indexing it afterward only moves the work. Time the whole pipeline before you pick a winner.

Read More
Plain brass adjustment knobs and a small measuring tool grouped on a warm wooden surface.

Server Settings Worth Checking on Any New Instance

November 12, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Review SQL Server configuration for memory, parallelism, tempdb, file growth, and backups before a new instance becomes a production surprise.

Read More
One dovetail spline is removed while another still joins two wooden boards

DENY vs REVOKE: Why a Removed Permission Still Works

November 8, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

You revoked a permission, but the user can still read the table. Here is why, and how DENY and REVOKE really differ.

Read More
A fish scaler beside two headless fillets with smooth and overlapping scaled skin

Checking Data Compression Settings on Every Table and Index

November 7, 2011
Pinal Dave
SQL Performance
Database, SQL Scripts, SQL Server

A table is not simply compressed or not. Here is how to read the setting for each index and partition, and the mistake that leaves indexes full size.

Read More
Previous 1 … 305 306 307 308 309 310 311 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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