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
SQL SERVER - Installation Fails With Error - A Constraint Violation Occurred

SQL SERVER – Installation Fails With Error – A Constraint Violation Occurred

August 13, 2016
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages, SQL Server

SQL Server cluster Installation Fails with ‘A constraint violation occurred’ as the network name won’t come online. I’ve fixed it for 10 clients.

Read More
SQL SERVER - Creating a Copy of Database in Azure SQL DB

SQL SERVER – Creating a Copy of Database in Azure SQL DB

August 12, 2016
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Error Messages, SQL Scripts, SQL Server

A client wanted to tune a slow query on a copy, not on production. Here is how to create a copy of a database in Azure SQL DB and work on it safely.

Read More
Two small cars nosing into the same single empty parking space on a cobbled street from opposite directions.

Upsert Patterns in SQL Server Without Race Conditions

August 11, 2016
Pinal Dave
SQL Tips and Tricks
Deadlock, SQL Lock, SQL Server, SQL Transactions

Compare upsert patterns under concurrent calls, protect missing-key ranges, test MERGE with HOLDLOCK, and keep unique keys as a guard.

Read More
A small red boat ferrying a few crates at a time from a big heap on one quay to a pile across the water

Deleting Millions of Rows in Batches Without Filling the Log

August 9, 2016
Pinal Dave
SQL Performance
Batch, SQL Delete, SQL Server, Transaction Log

Plan deleting millions of rows with bounded commits, an indexed cutoff, log reuse checks, and a clear choice of retention method.

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
SQL SERVER - Error: 14258 - Cannot perform this operation while SQLServerAgent is starting. Try again later

SQL SERVER – Error: 14258 – Cannot perform this operation while SQLServerAgent is starting. Try again later

August 6, 2016
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Agent, SQL Server Management Studio

A client could not run any job and got Error 14258: Cannot perform this operation while SQLServerAgent is starting. Here is what caused it and how we fixed it.

Read More
Previous 1 … 207 208 209 210 211 212 213 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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