Propagating system functions
PDinCA
Posts: 642 Silver 1
The generates synchronize script omits "header and footer" lines when propagaing system functions, i.e., from master to master. I couldn't see an option to get them to generate so had to open the script in QA and add them myself. As SQL Compare is so intelligent already, could you add an option to automatically generate the following example commands, please?:
EXEC SP_CONFIGURE 'ALLOW UPDATES', 1
RECONFIGURE WITH OVERRIDE
USE MASTER
GO
<< Create Function ... >>
EXEC SP_CONFIGURE 'ALLOW UPDATES', 0
RECONFIGURE WITH OVERRIDE
EXEC SP_CONFIGURE 'ALLOW UPDATES', 1
RECONFIGURE WITH OVERRIDE
USE MASTER
GO
<< Create Function ... >>
EXEC SP_CONFIGURE 'ALLOW UPDATES', 0
RECONFIGURE WITH OVERRIDE
Jesus Christ: Lunatic, liar or Lord?
Decide wisely...
Decide wisely...
This discussion has been closed.
Comments
This is a bit confusing -- SQL Compare is specifically designed NOT to allow the migration of System functions -- only user tables and objects should be migrated by SQL Compare. If it is attempting to migrate MSShipped or System objects, then something is not right. One or more of your MSShipped database objects is probably marked as a user object.
Please let us know what you think and we'll try to help.
If SQL Compare isn't designed to do this, that's OK. I did generate the entire migration script using SQL Compare against the two master DBs, so to add the commands myself in QA is no great hardship. PLEASE don't disallow master-to-master compares and script generation in future releases!!!
Great Product - used nigh on daily - wish we had an Oracle version when I was shackled to that DB!
Decide wisely...