Solved

Query Analyzer to Restore SQL Backup

Posted on 2004-04-27
4
915 Views
Last Modified: 2012-06-27
I want the command to use it in query analyzer to restore sql backup
0
Comment
Question by:Nilkamal_dey
4 Comments
 
LVL 12

Accepted Solution

by:
ill earned 25 total points
ID: 10927965
restore ( see books online)
0
 
LVL 34

Assisted Solution

by:arbert
arbert earned 25 total points
ID: 10928537
RESTORE DATABASE yourdatabasenamehere from DISK='c:\folder\backupfilename.bak'

This assumes your backup is on disk--change your database name and the folder\backup name of the backup....

Brett
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to shrink a transaction log file down to a reasonable size.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now