The drive has free space, yet the file will not grow. Here is how to calculate the next autogrowth and test it against disk and MAXSIZE.
SQL SERVER – Capturing Stored Procedure Results with a Matching INSERT EXEC Table
A stored procedure is not normally a table expression in a SELECT Statement. The question concerned rows from uspGetManagerEmployees.
Reads and Writes per File: Rank Files by Bytes Moved
Reads and writes per file show which data or log file SQL Server uses the most. This post ranks the files of a demo database by bytes moved with sys.dm_io_virtual_file_stats and explains what the tally can and cannot tell you.
Recovering One Dropped Table From a Full Backup
Recover one dropped table through a separate restored database, choose the recovery point, copy its data, and rebuild the table rules.
Estimate Compression Savings for Every Table in a Database
To estimate compression savings for every table, loop over the database and call sp_estimate_data_compression_savings with ROW and PAGE. This post ranks tables by space saved and checks one estimate against a real rebuild.
ZIP Codes Stored as int: Lost Zeros and How to Repair Them
An int column turns 01234 into 1234 and never gives the zero back. Here is how to fix the column, and how to repair old rows without guessing.







