1
0
mirror of https://github.com/alex-bochkov/ssms-addin.git synced 2025-11-23 22:04:53 +02:00

Update shrink-data-files-incrementally.sql

This commit is contained in:
Alex Bochkov
2019-12-26 17:27:48 -08:00
committed by GitHub
parent 135199da51
commit 0e9e481b26

View File

@@ -1,6 +1,6 @@
-- Enter the file name you want to shrink and target file size
-- File will be shrinked in a loop by one gigabate at a time
DECLARE @FileName VARCHAR(100) = 'Ff_ppbAdOrderAccumulatedDeliveredClickStats201711';
-- File will be shrinked in a loop by one gigabyte at a time
DECLARE @FileName VARCHAR(100) = 'file_name';
DECLARE @DesiredSize INT = 30000;
DECLARE @CurrentSize INT;