Comparing two databases with insufficient permissions
magomedov
Posts: 2
Hi team,
I’m trying to compare two databases – DEV and UAT instances. On DEV we have dbo right, on UAT we don’t. I want to see difference in tables and their definitions (mainly columns) + view (names, definitions are not required) and stored proc. Can this be accomplished in SQl Compare? I definitely can be done in ApexSQL Diff 2008, but in SQl Comapre I keep getting insufficient permissions error where ApexSQL Diff 2008 shows the same message as a warning and still can produce the report. This is quite urgent, can you assist please?
Thanks.
I’m trying to compare two databases – DEV and UAT instances. On DEV we have dbo right, on UAT we don’t. I want to see difference in tables and their definitions (mainly columns) + view (names, definitions are not required) and stored proc. Can this be accomplished in SQl Compare? I definitely can be done in ApexSQL Diff 2008, but in SQl Comapre I keep getting insufficient permissions error where ApexSQL Diff 2008 shows the same message as a warning and still can produce the report. This is quite urgent, can you assist please?
Thanks.
Comments
If you do not have dbo rights, granting the VIEW DEFINITION permission is sufficient to compare unencrypted objects in SQL Server 2008 and SQL Server 2005 databases. However, sysadmin permissions are required to decrypt encrypted stored procedures.
More about permissions here.
Let me know if this helps.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com