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
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
StartUp Parameters.

SQL SERVER – Event 17058 – initerrlog: Could not Open Error Log File

August 5, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio, Starting SQL

SQL Server would not start and there was no ERRORLOG. Event 17058, initerrlog: Could not open error log file, came from missing permissions on the Log folder.

Read More
Leather beveler applying a repeated trim to one selected edge

Find and Replace With Regular Expressions in SSMS

August 3, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

A regex replace can turn forty column names into ISNULL expressions in seconds. Here is the pattern, the safety habits, and the trap of a zero default.

Read More
SQL SERVER - Setting Firewall Settings With Azure SQL Server VMs

SQL SERVER – Setting Firewall Settings With Azure SQL Server VMs

August 2, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Azure, SQL Server

Can’t reach SQL Server on an Azure VM from your app? The firewall was the culprit. Here are the steps I use to set firewall rules with Azure SQL Server VMs.

Read More
Previous 1 … 201 202 203 204 205 206 207 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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