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 differently colored shoes fitting the same adjustable shoe stretcher

Names That Differ Only by Case: Finding Them With COLLATE

June 20, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL CASE, SQL Server

A case-insensitive target can turn two rows into one. This walk-through finds the colliding names first, including the ones with trailing spaces.

Read More
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
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
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
A spring balancer supporting a linked guide between two fabric rolls

DATE_CORRELATION_OPTIMIZATION: Helping Joins on Related Dates

June 12, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Joins, SQL Server

SQL Server can learn that an order date and a ship date move together. Here is a small demo of the read savings and the trade you accept.

Read More
Gouache painting of five glasses of water at different levels with the fullest one rimmed in vermilion

Find Memory Used by Each Database in SQL Server

June 9, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory, SQL Scripts, SQL Server

To see the memory used by each database, count its pages in the buffer pool with sys.dm_os_buffer_descriptors. This post builds a small demo database, shows buffer and dirty page sizes before and after a checkpoint, explains the row with no name, and covers what the buffer pool numbers leave out, such as the plan cache.

Read More
Microsoft Cluster Service errors dialog box.

SQL SERVER – Install Error: Microsoft Cluster Service (MSCS) Cluster Verification Errors – Part 3

June 8, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Server, SQL Server Cluster

Part 3: one more reason SQL Server setup can fail the MSCS cluster verification errors rule during install or AddNode, as seen at a client, and the fix.

Read More
Previous 1 … 111 112 113 114 115 116 117 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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