February 8, 1998
Takes a passed database name and builds a SQL script that will drop the database, drop the devices, rename the device files, then create new devices, and finally create a new database with the same options and usage fragments as when this procedure was run. This procedure is recommended to be run whenever a full database backup is made. This procedure builds a SQL script that when run builds the infrastructure that the database backup does not backup.
For SQL Server 6.5
Author: Greg Lauriano
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home