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
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
Gouache painting of open sacks of spices on a market stall with a sample bowl and spoon, one sack painted red

Install the WideWorldImporters Sample Database

August 10, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Sample Database, SQL Server Management Studio

To install the WideWorldImporters sample database, restore its backup file in SSMS and check the files and the row counts. This post explains the Full and Standard versions, the disk space you need, the permission trap, and three queries that prove the install worked.

Read More
Gouache painting of a potter's wheel with its tools delivered separately in a box and a red tool roll

Install SSMS: Setup and First Connection

August 8, 2016
Pinal Dave
SQL Tips and Tricks
SQL Server Installation, SQL Server Management Studio, SQL Setup

To install SSMS, download the installer, run it, and connect to your server. This post explains why SSMS is separate from the SQL Server engine, how to fill in the first connection, what to do about the certificate error, and how to check the connection with one query.

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
Previous 1 … 185 186 187 188 189 190 191 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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