Comments
Sort by recent activity
Wow, not sure why post-deploy auto corrected to poat-deploy? / comments
Wow, not sure why post-deploy auto corrected to poat-deploy?
I would use a post-deploy script for this that does a: CREATE OR ALTER TRIGGER <TRIGGER_NAME> ON TABLE <TABLE_NAME> etc (Note, OR ALTER is only supported from SQL 2016 up.) If I have a lot of these I would extract them into a helper script or sproc so that the post-deploy script can simply reference the helper script/sproc to update all the triggers. / comments
I would use a post-deploy script for this that does a:CREATE OR ALTER TRIGGER <TRIGGER_NAME>ON TABLE <TABLE_NAME>etc(Note, OR ALTER is only supported from SQL 2016 up.)If I have a lot of these I wo...
Try disabling the option to force column order: https://documentation.red-gate.com/soc/configuring/change-the-comparison-options / comments
Try disabling the option to force column order:https://documentation.red-gate.com/soc/configuring/change-the-comparison-options
Fantastic to hear you got it working! By the way, whether or not you decide to adopt SCA projects, I highly encourage you to look at the SCA PowerShell cmdlets for executing your deployments with TeamCity, rather than SQLCompare.exe: https://documentation.red-gate.com/sca/reference/powershell-cmdlets There is even a TeamCity plug-in for them so you probably don't need to write any code yourself: https://documentation.red-gate.com/sca/deploying-database-changes/add-ons/teamcity Once you get it up and running, it's much easier to maintain your deployment pipelines and you'll start benefitting from all the new PowerShell stuff Redgate has been working on. Happy deployments! / comments
Fantastic to hear you got it working!By the way, whether or not you decide to adopt SCA projects, I highly encourage you to look at the SCA PowerShell cmdlets for executing your deployments with Te...
Put a timeout on your deploy process and treat this as an early warning that whatever change you just made might deserve special attention. Rebuilding a table and accidentally blowing away a clone is annoying, but relatively easy to fix. The main point is that it might one day save you from unexpectedly doing it on production. / comments
Put a timeout on your deploy process and treat this as an early warning that whatever change you just made might deserve special attention.Rebuilding a table and accidentally blowing away a clone i...
Whatever bits you are changing on disk will be saved on the clone differencing disk. Hence, expect table recreations on big tables to have a proportional affect on the size of the clone. If a table is bigger than the available harddrive space, don't expect it to work. However, as long as you are not doing table rebuilds etc it should work fine. And as long as you treat source control as god and your clone as a disposable playground for dev/test. you shouldn't need to worry too much about the occasional clone breaking. If it does, respawn and try again. As for the anonymisation - that should work fine. You can either use the pre-anonymised version to create your source image or, if you have either a Redgate Masking Set or a plain T-SQL script to anonymise the data, you can use the production database/backup (backup recommended obvs) and run your masking script as part of the image creation. Don't try to run data anonymisation scripts on your clones. If you are masking a large amount of data your clones will grow proportionally large. Run your masking scripts on the source database or during image creation. / comments
Whatever bits you are changing on disk will be saved on the clone differencing disk. Hence, expect table recreations on big tables to have a proportional affect on the size of the clone. If a table...
AppData\Local\Red Gate\SQL Source Control 7\LinkedDatabases.xml (Probably in C:\Users\Usrename\AppData) / comments
AppData\Local\Red Gate\SQL Source Control 7\LinkedDatabases.xml(Probably in C:\Users\Usrename\AppData)
https://forum.red-gate.com/discussion/86731/ssms-18-5-compatibility / comments
https://forum.red-gate.com/discussion/86731/ssms-18-5-compatibility