Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to rollback from query analyzer? URGENT

Posted on 2003-11-25
9
Medium Priority
?
298 Views
Last Modified: 2006-11-17
hi

i have updated my database without using any where  condition. from  query ana;yzer .and it updated all my database .. how can i roll back...?  plz  help.....this is very important database.....
0
Comment
Question by:wankidi
[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
  • 3
9 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 720 total points
ID: 9822533
You can't without a restore.  If you didn't explicitly start a transaction, you can't roll it back.

You'll have to do a point in time restore of the database from the time before you made the slip.
0
 
LVL 34

Expert Comment

by:arbert
ID: 9822537
That is assuming you used implicit transactions and didn't explicitly code a BEGIN TRANSACTION without an ending COMMIT TRANSACTION....
0
 

Author Comment

by:wankidi
ID: 9822838
can u tell me  more about point in time restore....i dont have back copy of  the database, i have already started restoring changes manually..
>>You'll have to do a point in time restore of the database from the time before you made the slip. <<
thank u



0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 34

Expert Comment

by:arbert
ID: 9822852
You have to have a backup to do a point in time restore.  Not to mention that the database recovery mode has to be set to full.

There are also a couple of tools that will let your "selectively" rollback transaction from the logfile--you just have to buy them.  Logexplorer is one http://www.lumigent.com and netiq also has a product http://www.netiq.com


So, no backup, no restore....
0
 

Author Comment

by:wankidi
ID: 10526662
I had to restore my datbase  manually  each and every record..

0
 

Author Comment

by:wankidi
ID: 10526671
How do i get my points back ?
0
 
LVL 34

Expert Comment

by:arbert
ID: 10526907
What do you mean?  Your question was answered....You did exactly what I said in my first post--restore...I also listed a tool that would allow you to do a selective restore from the transaction log....
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

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
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

722 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