write the query for taking database restore in sql?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Explain about builtinadministrator?
Define Foreign Key?
3 Answers ADP, College School Exams Tests,
how can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role? : Sql server administration
How do I install sql server?
why would you use sql agent? : Sql server database administration
How do you read transaction logs
Explain what are page splits? : SQL Server Architecture
what is diffence between replicaion and logshipping?
Can a stored procedure call itself(recursive). If yes what level and can it be controlled.?
What is the use of sql profiler in sql server 2012?
What is ddl and dml commands?
What is sql collation?