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
Do you know what is difference between index seek vs. Index scan?
How to change the ownership of a schema in ms sql server?
How do you size a resultset?
Who is the owner of a schema in ms sql server?
What is Lock table in SQL?
What is the use of =,==,=== operators?
Can we check locks in database? If so, how can we do this lock check?
How can i Relate Tables in SSIS
What happens if null values are involved in boolean operations?
Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?
What is forward - only cursors / read only cursor?
What happens if null values are involved in string operations?
Is it possible in sql table to have more than one foreign key?
What is sql or structured query language?
Write SQL queries on Self Join and Inner Join.