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 wooden box with a sliding lid beside its former hinged lid and brass hinges

How to Drop Clustered Index on Primary Key Column? – Interview Question of the Week #084

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

DROP INDEX fails with Msg 3723 on a primary key. Here is how to drop clustered index on a primary key column the right way, through the constraint.

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
Winter scarves in a shop window while a summer hat rests outside

How to Find Outdated Statistics? – Interview Question of the Week #081

July 24, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Statistics

How do you find outdated statistics? The honest answer is that ‘outdated’ is subjective. I explain why, and how I look at statistics instead.

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
A rolled plan secured with a red tie in an open wooden parcel box

How to Send Execution Plan in Email? – Interview Question of the Week #079

July 10, 2016
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server

After answering over 2000 performance emails, I saw that many users do not know how to send execution plan in email. Here is the easy way to do it.

Read More
A grounded blue kite with a new cord and an old detached cord

How to Attach MDF Data File Without LDF Log File – Interview Question of the Week #078

July 3, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Management Studio, Transaction Log

Lost or corrupted your log file? Learn how to attach an MDF data file without the LDF log file, using T-SQL or SQL Server Management Studio.

Read More
Previous 1 … 30 31 32 33 34 35 36 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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