Solved

Query Analyzer to Restore SQL Backup

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

756 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