One of my clients has configured AlwaysOn availability group and wanted to automate backup to secondary replica. They debugged and found that the function sys.fn_hadr_backup_is_preferred_replica returns 0 no matter what the backup preference is set to. Since function was returning zero, the maintenance plan was ignoring the server to take backup.
How Many Temporary Tables are Created So Far in SQL Server? – Interview Question of the Week #149
Question: How Many Temporary Tables are Created So Far in SQL Server?
SQL Authority News – Updates on Recent Trip to SQL PASS 2017, Seattle
Today is Thanksgiving in the USA and few other countries. Earlier last week I returned from the USA attending various customer meetings and conferences. Here is a quick update about my trip to SQL PASS 2017, Seattle.







