So have you ever had the need to restore a SQL database because someone hit the delete button on a table or the whole Database? Well, my friend I have seen this happen several times. Here is some code to restore your database back to a certain point in time.
Start Server in single user mode : sqlservr -m
RESTORE DATABASE YourDB
Page rendered at Friday, December 05, 2008 4:04:35 AM (Central Standard Time, UTC-06:00)
Disclaimer The opinions expressed herein are our own personal opinions and do not represent our employer's view in any way.