Hi Guys
Is there a simple way to restore a database to a previous state(i.e. from a .bak file) from a batch file?
Basically I want to be able to use a DB for demo purposes, fill it full of meaningless data, then afterwards just run a batch file to overwrite it with an empty backup... rather than doing a restore through SQL server..
Any help would be much appreciated.
Cheers
John