I was trying to teach copy-only backups to my students and encountered below error related to differential backup.
How to Find Median in SQL Server? – Interview Question of the Week #116
There is no MEDIAN function in T-SQL. Here is an easy way to find median values in SQL Server 2012 and later, plus what median really means.
SQL SERVER – Huge Size of Table catalog.execution_component_phases in SSISDB
SSISDB was huge, and the biggest table was catalog.execution_component_phases. Here is what fills it, like retention period and logging level.
Work Table Page Could Not Be Moved: DBCC SHRINKFILE on TempDB
A work table page can stop DBCC SHRINKFILE from reaching the size you asked for in tempdb. This post shows tested queries that compare configured and current file sizes, split tempdb space by object type and find the sessions that hold it. The original client case needed a planned restart to reset the file sizes.







