Solved

Query Analyzer to Restore SQL Backup

Posted on 2004-04-27
4
920 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
[X]
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
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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

624 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