Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Query Analyzer to Restore SQL Backup

Posted on 2004-04-27
4
917 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

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…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

808 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