Created
August 12, 2019 04:27
-
-
Save timweigel/d76a1db9addc7558df1bc0505127f959 to your computer and use it in GitHub Desktop.
Script to modify database-level change tracking settings in SQL Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER DATABASE CT_Demo | |
SET CHANGE_TRACKING | |
(CHANGE_RETENTION = 14 DAYS, AUTO_CLEANUP = ON); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment