write the query for taking database restore in sql?
Answer Posted / sandeep thakur
IN SQL SERVER 2005:-->
RESTORE DATABASE database name FROM DISK
='E:\Dailybackup\backupname.bak'
WITH MOVE 'database name' TO 'D:\database\databasename.mdf',
MOVE 'database name' TO 'D:\database\databasename.ldf',
REPLACE
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is sub-query in sql server?
If user is owning any SQL Objects, can we drop that user
Explain how to use linked server?
What are the advantages of stored procedure in sql server?
Explain what are the basic functions for master, msdb, model, tempdb databases?
What is federation member?
What stored procedure can you use to display the current processes?
Can we perform backup restore operation on tempdb?
What are the elements of dbms?
what are isolation levels? : Sql server database administration
Is there any difference between primary key and unique with the not null condition?
What are the transaction properties?
How do I know if localdb is running?
How to create hyperlink from returned sql query ?
What is the simplest way to create a new database in ms sql server?