Is it possible to create or do it from SSMS to compare two different schema ?

I need to compare database table in my current production DB to see which one is different in order to generate delta (upgrade script)

Thanks.

link|improve this question

72% accept rate
feedback

2 Answers

up vote 4 down vote accepted

No, SSMS doesn't have a feature to do this. Look at RedGate or Quest for a tool to do this.

link|improve this answer
3  
SQLCompare by RedGate is the way to go (IMO) – Joel Mansford Feb 18 '11 at 0:41
1  
Yes, I'll second the SQL Compare mention. – squillman Feb 18 '11 at 1:28
feedback

but then I found this

select TABLE_SCHEMA,COUNT(*) TableCount from INFORMATION_SCHEMA.TABLES group by TABLE_SCHEMA -- followed by select * from sys.tables order by modify_date desc

but that's just a simple script to list all tables between my prod and dev environment.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.