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.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-09-12 : 18:32:29
|
ramesh writes "once i restore the database i want to validate a table, for this i need to check whether all fields are there in the table if the above first condition is satisfy then i want to chk the count is > 0 .pls let me know how can i wrote the store procedure for thisramesh." |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-09-12 : 19:14:43
|
Just run DBCC CHECKDB(DbNameGoesHere) to verify that the restored database is valid. You do not need to do this check that you are proposing.Tara Kizer |
 |
|
|
|
|