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
A red squirrel moving the last acorn from one of two tree hollows into the other, now full

Overlapping Indexes With INCLUDE Columns: Merging Them Safely

April 2, 2013
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Index, SQL Performance

Find overlapping indexes, compare ordered keys and INCLUDE lists, merge coverage carefully, and review usage before removing either index.

Read More
A pastry docker above equal pastry sheets turned in different directions

Does Column Order in CREATE TABLE Change How Rows Are Stored?

March 17, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server

Someone wants to reorder columns to shrink rows. I measured it on SQL Server 2025, and the answer is mostly no, with one small exception worth knowing.

Read More
SQL query tool window.

SQL SERVER – Avoid Using Function in WHERE Clause – Scan to Seek

March 12, 2013
Pinal Dave
SQL Performance
SQL Function, SQL Index

Does a function in WHERE clause really hurt performance? Using AdventureWorks and STATISTICS IO, I show what happens and how to turn a scan into a seek.

Read More
Index Seek.

SQL SERVER – An Interesting Case of Redundant Indexes – Index on Col1 and Included Columns Col2 and Col3 – Part 5

February 12, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index

Part 5 of my redundant indexes series looks at an index on Col1 with included columns Col2 and Col3, and how it compares with the earlier cases.

Read More
TestTable clustered index.

SQL SERVER – Primary Key and NonClustered Index in Simple Words

February 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

In 2006 I wrote how Primary Key and Unique Key differ. Now I fill the gap and explain primary key and nonclustered index in simple words.

Read More
SQL SERVER - An Interesting Case of Redundant Indexes - Index on Col1, Col2 and Index on Col1, Col2, Col3 - Part 4

SQL SERVER – An Interesting Case of Redundant Indexes – Index on Col1, Col2 and Index on Col1, Col2, Col3 – Part 4

January 17, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

A recap of this case of redundant indexes, from Jon and Mike’s basics to the demos where redundant indexes are useful with small and large result sets.

Read More
Execution plan showing SQL query and cost.

SQL SERVER – An Interesting Case of Redundant Indexes – Index on Col1, Col2 and Index on Col1, Col2, Col3 Part 3

January 11, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index

Index on Col1, Col2 and index on Col1, Col2, Col3 Part 3: Jon and Mike ask if it is always best practice to drop redundant indexes. Here is a special case.

Read More
Previous 1 … 28 29 30 31 32 33 34 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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