Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restoring Database
Message
 
 
À
29/06/2004 03:03:44
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00918300
Message ID:
00919930
Vues:
8
You shouldn't create database before restore. It will cause RESTORE command to fail. Either delete DB before restore or specify REPLACE clause in the RESTORE command.

>Hi I want to restore a database using Transact SQL Commands. I excuted the following code, unfortunately, there were reported errors. Is there something that I missed on the code? Please Help...
>
>1. create database mysampdb
>
>2. restore database mysampdb
> from disk = 'd:\mysampdbbak.dat'
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform