Your Query Store may want READ_WRITE and still be READ_ONLY. Here is how it happens, how to read the reason, and how to get capture back.
SQL SERVER – Puzzle – How Does YEAR Function Work?
SELECT YEAR(35000/20) returns 1904, which looks strange. This puzzle shows how the YEAR function treats a plain integer. Can you explain the result?
Salted Password Hashes With HASHBYTES and CRYPT_GEN_RANDOM
A salt makes two identical passwords look different, yet it does not slow down guessing. Here is a small demo of both, and what to use instead.
What is Alternative to CASE Statement in SQL Server? – IIF Function – Interview Question of the Week #164
What is the alternative to CASE statement in SQL Server? The IIF function. Here are two examples of CASE and IIF, and why IIF deserves more use.







