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
Pumpkins in pairs on a farm stand, the smaller of each pair tied with a red ribbon, one unpaired pumpkin at the end.

Every Second Item Free: Pricing Promotions With ROW_NUMBER

May 27, 2019
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Scripts, SQL Server

Price every second item as free with ROW_NUMBER, expand quantities into units, and calculate basket discounts without double counting.

Read More
An empty park bench under falling blossoms shows why appearance alone cannot establish its last use

When was Table Accessed Last By User? – Interview Question of the Week #226

May 26, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Index, SQL Scripts, SQL Server, SQL Table Operation

When was a table accessed last by a user? When clients say a table is rarely used, I run this report to check before we create or drop indexes.

Read More
Title card: REBUILDDATABASE Error 0x851A0012: Missing sa Password

SQL SERVER – REBUILDDATABASE Error: 0x851A0012 – Missing sa Account Password. The sa Account Password is Required for SQL Authentication Mode

May 25, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Server, SQL Server Security

The plan was to first rebuild system databases and then restore ALL databases from the backup. Today we will discuss an error about REBUILDDATABASE.

Read More
conflicting

SQL SERVER – FIX: Msg 4353 – Conflicting File Relocations Have Been Specified for File. Only a Single WITH MOVE Clause Should be Specified for Any Logical File Name

May 24, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server

In this blog we would learn how to fix Msg 4353 – Conflicting file relocations have been specified for the file. We solve this error very quickly.

Read More
Login vs User

SQL SERVER – Difference Between Login Vs User – Security Concepts

May 21, 2019
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

In this blog post, we discuss the difference between Login Vs User – Security Concepts. They look the same but actually, they are totally different.

Read More
upgrade mode

SQL SERVER – Fix Error – Login failed for user. Reason: Server is in script upgrade mode. Only administrator can connect at this time. (Microsoft SQL Server, Error: 18401)

May 20, 2019
Pinal Dave
SQL Tips and Tricks
Cumulative Update, Docker, SQL Error Messages, SQL Login, SQL Server, SQL Upgrade, Starting SQL

I recently had a very simple and interesting error received while I was performing an upgrade mode with Docker and Persistence Storage for my upcoming workshop.

Read More
A newly lit pendant lamp illuminates an extinguished candle

When Was SQL Server Last Restarted? – Interview Question of the Week #225

May 19, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, SQL TempDB, Starting SQL

When was SQL Server last restarted? It is my first question in every Health Check, because a restart empties the DMVs and their performance history.

Read More
Previous 1 … 79 80 81 82 83 84 85 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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