features
Peper
Posts: 2
Is there a way to compare whether options like:
alter database perform set read_committed_snapshot on
and database file settings are the same?
alter database perform set read_committed_snapshot on
and database file settings are the same?
Comments
SQL Compare can compare objects in a database, but that does not include any dboptions set on the database itself while it's available in a SQL Server Environment.
You could probably use SQL Server's sp_dboption or DATABASEPROPERTYEX functions to get the values from the databases and compare them.
against the master database on different servers, and export the results to Excel.
It's a snap to scan the individual columns to fiind which databases have particular settings. Condidtional formatting of the Excel file will also quickly highlight any differences from your preferred settings.