Red Gate forums :: View topic - How to skip database name comparing in a view?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

How to skip database name comparing in a view?

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
lucazav



Joined: 26 Aug 2010
Posts: 8
Location: Italy

PostPosted: Mon Jul 07, 2014 1:00 pm    Post subject: How to skip database name comparing in a view? Reply with quote

Hi all,

I'm using SQL Compare 10.7.0.18.
I'm wondering if there's a way to compare, for example, these two viewsfrom two databases:

Code:
SELECT *
FROM MyDatabaseA.MyTable

SELECT *
FROM MyDatabaseB.MyTable


and make SQL Compare don't show them as different.

Thank you.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Jul 09, 2014 4:51 pm    Post subject: Reply with quote

SQL Compare has a few options to ignore certain object properties, but it does not do any refactoring where programmability objects like views, stored procedures, and UDFs are concerned. You can map the owning schema to a different owner and that's about it. There definitely isn't support for manipulation of three-part identifiers (database.schema.object).

If it's important, you could consider requesting this feature on UserVoice. https://redgate.uservoice.com/forums/141379-sql-compare

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group