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 long clothes rail of shirts sorted by shade, one section opened at a red hanger.

Columnstore Segment Elimination: Loading Data So Scans Skip Work

November 17, 2016
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Performance, SQL Server

See how segment elimination skips columnstore work by checking segment metadata, measuring scans, and loading rows in a useful order.

Read More
Ledgers of different thickness wait to be measured one at a time on a balance scale

How to Find Size of All the Indexes on the Database – Interview Question of the Week #097

November 13, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Scripts, SQL Server

Need to know how much space your indexes use? Here is a script I share with clients that lists all the indexes in a database along with their size.

Read More
A brass latch and its mounting plate removed while an independent steel rail stays on the cabinet

Does Dropping Primary Key Drop Non-Clustered Index on the Column? – Interview Question of the Week #085

August 21, 2016
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL Constraint and Keys, SQL Index, SQL Server

Does dropping a primary key also drop the Non-Clustered Index on that column? An interview question with a small repro script to see the answer.

Read More
An intact stone arch with a keystone supporting the structure

Does Dropping Clustered Index Drop Primary Key on the Same Column? – Interview Question of the Week #083

August 7, 2016
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL Constraint and Keys, SQL Index, SQL Server

Does dropping clustered index also drop the primary key on the same column? Here is the short answer, a follow-up to last week’s question on the reverse case.

Read More
Two linked copper loops beside a separate opened loop

Does Dropping Primary Key Drop Clustered Index on the Same Column? – Interview Question of the Week #082

July 31, 2016
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL Constraint and Keys, SQL Index, SQL Server

When you drop a primary key, does it drop the clustered index on the same column too? Yes, it does. Here is a small script that shows it.

Read More
Orderly books with space left on the shelves

How to Change Fill Factor in SQL Server – Interview Question of the Week #080

July 17, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Scripts, SQL Server, SQL Server Management Studio

It is surprising to see that lots of people do not know that SQL Server Fill Factor 0 (which is the default value when SQL Server is installed) is equal to value as 100.

Read More
Table type descriptor window.

SQL SERVER – Identify Table Where Clustered Index is Not a Primary Key – DMV

April 26, 2016
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts, SQL Server

Let us first see script which will return us tablename with schema where clustered index is not a primary key.

Read More
Previous 1 … 20 21 22 23 24 25 26 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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