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
Define magic tables in sql server?
What are the purposes of floor and sign functions?
How to retrieve error messages using mssql_get_last_message()?
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
Can truncate be rolled back?
What is data compression? : sql server database administration
Do you know what are the restrictions applicable while creating views? : SQL Server Architecture
How to display a past time in days, hours and minutes?
List the advantages of using stored procedures?
What are SSL and TSL protocols?
Do you know what is lock escalation?
What are the advantages of using a stored procedure?
How to create stored procedures with parameters in ms sql server?
Why we use trigger in sql server with example?
Do you know the policy based administration feature of sql server 2008?