Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Extract database structure from backup

Author  Topic 

vitoco
Starting Member

22 Posts

Posted - 2008-05-14 : 13:11:07
Hi.

I want to compare the database structure (tables, indexes, sp...) of a huge running database with some old backups of it, without restoring them, to detect some object's changes. Data is not required at this time.

Is there a tool to extract the database structure into a SQL file directly from the .bak file?

Thanks... ++Vitoco

PS: I wrote such a tool for Oracle 7 many years ago. I hope someone did the same for SQL Server ;-)

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-14 : 13:13:06
you have to restore it to find out.
Go to Top of Page

vitoco
Starting Member

22 Posts

Posted - 2008-05-14 : 13:27:53
Is there a way to restore only the structure of the database (with a reduced sizing parameters)? I didn't find an option, and I don't have enought room to restore a full database.

++V
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-05-14 : 22:27:54
No you can't.
Go to Top of Page
   

- Advertisement -