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 |
how to create a scrollable cursor with the scroll option? : Sql server database administration
What the class forname () does?
Why do we partition data?
List all the types of user-defined functions?
What is scan table/view and seek table/view when its occurs? : sql server database administration
how we can store the value like that 001,003,023 etc in sql server 2005
What is BCP? When does it used in sql server 2012?
0 Answers TryTechnicals Pvt Ltd,
Can you please explain the difference between function and stored procedure?
Which are the important points to note when multilanguage data is stored in a table?
How to get the query of a table in sql server?
Explain about SQLOS?
Which is faster statement or preparedstatement?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)