write the query for taking database restore in sql?
Answer Posted / gtp
RESTORE DATABASE NewDatabase
FROM DISK='D:\Backup\NewDatabase.bak'
WITH
MOVE 'NewDatabase' TO 'D:\ActiveDB\NewDatabase.mdf',
MOVE 'NewDatabase_log' TO 'D:\ActiveDB\NewDatabase_log.ldf'
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is resource db in sql server?
What is function of CUBE ?
Can you explain about buffer cash and log cache in sql server?
Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
Explain what are magic tables in sql server?
What is sql collation?
What is difference between rownum and rowid?
What are the different normalization forms?
What is a not null constraint?
Explain the steps needed to create a scheduled job?
What is tempdb database? : SQL Server Architecture
Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?
What does truncate do?
How can you tell if a database object is invalid?