Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is global temp table?

1045


What are the 7 disadvantages to a manual system?

1030


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1164


How can windows applications connect to sql servers via odbc?

1175


It is important form e to get the information from log files of applications executed by the task scheduler? Does sql studio save these log files? : sql server management studio

1087


Tell me time data type, datetime2, datetimeoffset data type in sql server 2008?

1029


Tell me about pre-defined functions of sql?

1155


What is server-level principal?

122


Define synonym?

1222


Distinguish between nested subquery and correlated subquery?

1112


How to replace the Query Result 'Null Value' with a text ?

1093


Explain the difference between cross join and full outer join?

1030


what is a join and explain different types of joins? : Sql server database administration

1001


What is an active database?

1067


What is the difference between createstatement and preparedstatement?

998