U can use the following :
In SSMS u can try right-clicking on the dB and navigating through Reports > Standard Reports > Schema Changes History. From here u can know deleted tables names !
If u know the table name before running try this syntax :
DBCC CHECKTABLE
(
table_name | view_name
[ , { NOINDEX | index_id }
|, { REPAIR_ALLOW_DATA_LOSS | REPAIR_FAST | REPAIR_REBUILD }
]
)
[ WITH
{ ALL_ERRORMSGS ]
[ , EXTENDED_LOGICAL_CHECKS ]
[ , NO_INFOMSGS ]
[ , TABLOCK ]
[ , ESTIMATEONLY ]
[ , { PHYSICAL_ONLY | DATA_PURITY } ]
}
]
Last Wiki Answer Submitted: November 10, 2010 9:18 am by Subhendu Sen22,035 pts.
All Answer Wiki Contributors: Subhendu Sen22,035 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.