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 / 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


Please Help Members By Posting Answers For Below Questions

In case you have filters in your report, when filters will be applied in cached report instance?

113


What are the advantages of sql stored procedure?

1072


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

1072


What are the recovery models for a database?

1103


What is data source document?

1040


How to write character string constants or literals in ms sql server?

1019


How to disable a login name in ms sql server?

1134


what is denormalization and when would you go for it? : Sql server database administration

1184


Explain what are the restrictions while creating batches in sql server?

1068


Why it is recommended to avoid referencing a floating point column in the where clause?

964


How will you make an attribute not process? : sql server analysis services, ssas

1089


What are distinctive joins find as a part of sql?

952


How to convert numeric expression data types using the cast() function?

1067


Can you name a few encryption mechanisms in sql server?

942


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1170