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.
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.
No, SSMS doesn't have a feature to do this. Look at RedGate or Quest for a tool to do this.
You can also try ApexSQL Diff - ApexSQL Diff is a SQL Server database comparison and synchronization tool which detects differences between database objects. It compares and synchronizes live databases, native or natively compressed database backups, database snapshots, scripts in source control and script folders
Video - Introduction to ApexSQL Diff
Hope this helps
Disclaimer: I work for ApexSQL as a Support Engineer
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.