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
Invalid value given for parameter password.

SQL SERVER – Transfer Logins Error: Msg 15021: Invalid Value Given for Parameter Password

June 19, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Password, SQL Server, SQL Server Security

Moving logins with sp_help_revlogin failed with Msg 15021: invalid value given for parameter PASSWORD. Here is what was wrong with the hashed password.

Read More
Six evenly spaced bird feeders on a fence, a flock of sparrows crowding one and a robin alone on another

Local Variable Estimates: Why the Density Vector Wins

June 18, 2018
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Server, SQL Statistics, SQL Variable

Understand local variable estimates with skewed data, density calculations, parameter comparisons, and targeted OPTION RECOMPILE tests.

Read More
Loom stations have different amounts of waiting work in their baskets

How Much Work Each Processor (CPU) is Doing in SQL Server? – Interview Question of the Week #178

June 17, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL CPU, SQL DMV, SQL Scripts, SQL Server

A client with 56 processors saw CPU always high and wanted to know how busy each one was. Here is a simple DMV query that shows work per Processor (CPU).

Read More
Over and partion by query results.

SQL SERVER – Adding Values WITH OVER and PARTITION BY

June 16, 2018
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Order By, SQL Scripts, SQL Server

How do you sum values for each group without GROUP BY and still keep every row? Here is how SUM with OVER and PARTITION BY answers a reader’s question.

Read More
Gouache painting of a wooden loom with many pale threads and one vermilion thread through the middle

Optimal Value for Max Worker Threads in SQL Server

June 15, 2018
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Server

The optimal value for Max Worker Threads is the default, 0, which tells SQL Server to calculate the limit from the number of logical processors. This post shows how to read the real limit, how the formula works, and which wait and queue counters prove a thread shortage before you change anything.

Read More
SQL SERVER - How to DELETE Multiple Table Together Via SQL Server Management Studio (SSMS)?

SQL SERVER – How to DELETE Multiple Table Together Via SQL Server Management Studio (SSMS)?

June 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

A DBA asked for a shortcut to drop more than one table at once in SSMS without writing T-SQL. Here are the simple steps, using just the keyboard.

Read More
SQL SERVER - Performance Comparison IN vs OR

SQL SERVER – Performance Comparison IN vs OR

June 13, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Operator, SQL Server

Which query runs faster, one with IN or one with OR? Here is my performance comparison IN vs OR on AdventureWorks, and both turn out equal.

Read More
Previous 1 … 115 116 117 118 119 120 121 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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