Red Gate forums :: View topic - Include or Exclude a specific Index?
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

Include or Exclude a specific Index?

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
anna.p



Joined: 03 Jul 2012
Posts: 23

PostPosted: Fri Aug 23, 2013 3:15 am    Post subject: Include or Exclude a specific Index? Reply with quote

Is it possible to "include", "exclude" or filter by a specific index or constraint?

For example, let's say these are the differences between source and target:

Code:
ALTER TABLE TableA ALTER COLUMN Col1 int NOT NULL
CREATE INDEX IDX_Index1 ON TableA (Col1)
CREATE INDEX IDX_Index2 ON TableA (Col2)

And these are the changes I actually want to push:

Code:
ALTER TABLE TableA ALTER COLUMN Col1 int NOT NULL
CREATE INDEX IDX_Index1 ON TableA (Col1)
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6677

PostPosted: Tue Aug 27, 2013 11:54 am    Post subject: Reply with quote

Hi Anna,

SQL Compare treats indexes as attributes of a table, so it's not possible to have the sort of granularity where you can push changes to a subset of indexes on a table.
Back to top
View user's profile Send private message
anna.p



Joined: 03 Jul 2012
Posts: 23

PostPosted: Tue Aug 27, 2013 6:16 pm    Post subject: Reply with quote

Too bad.
Thanks for the reply.
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