Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0e9e481

Browse files
Update shrink-data-files-incrementally.sql
1 parent 135199d commit 0e9e481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎QueryTemplates/Common Scripts/shrink-data-files-incrementally.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- Enter the file name you want to shrink and target file size
2-
-- File will be shrinked in a loop by one gigabate at a time
3-
DECLARE @FileName VARCHAR(100) = 'Ff_ppbAdOrderAccumulatedDeliveredClickStats201711';
2+
-- File will be shrinked in a loop by one gigabyte at a time
3+
DECLARE @FileName VARCHAR(100) = 'file_name';
44
DECLARE @DesiredSize INT = 30000;
55

66
DECLARE @CurrentSize INT;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /