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)
 How to Check DB's after Restore

Author  Topic 

kkiranvr
Yak Posting Veteran

54 Posts

Posted - 2007-11-07 : 17:17:31
Hi Experts,
How can we check The restored database is succesfully had every data as the original Database? (i.e Every tables, Stored Procedures, Views Etc..... are same in both databases or not)

-Thanks N Regards,
Kanthi.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-11-07 : 17:18:34
The restored database will have everything, so you just need to check its integrity via DBCC CHECKDB.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-11-08 : 00:48:12
There is quite a lot of "noise" output by DBCC CHECKDB so I prefer to use

DBCC CHECKDB('MyDatabaseName') WITH NO_INFOMSGS

Kristen
Go to Top of Page
   

- Advertisement -