Restore database without providing a name??/
From: Ray Lavelle (bostonpartykid_at_yahoo.com)
Date: 05/20/04
- Next message: James Jarupan: "RE: Tool for design database in SQL server; ERWin/SilverRun"
- Previous message: DJ: "RE: backup error 17055 description 3041"
- Next in thread: Keith Kratochvil: "Re: Restore database without providing a name??/"
- Reply: Keith Kratochvil: "Re: Restore database without providing a name??/"
- Messages sorted by: [ date ] [ thread ]
Date: 20 May 2004 12:36:40 -0700
Is there anyway I can restore a database without having to provide a
database name in the restore command? I have a utility that I wrote
to restore my database, but right now I hardcode the database name
into the restore command. Is it possible for the restore command to
just figure out the name of the database on its own so I don't have to
provide it? I'd like my utility to be able to restore databases with
different names and I don't want to have to prompt the user to enter
one.
Any suggestions?
- Next message: James Jarupan: "RE: Tool for design database in SQL server; ERWin/SilverRun"
- Previous message: DJ: "RE: backup error 17055 description 3041"
- Next in thread: Keith Kratochvil: "Re: Restore database without providing a name??/"
- Reply: Keith Kratochvil: "Re: Restore database without providing a name??/"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|