I tried to find something on forum but, no success. I was manipulating data into Interactive SQL and accidentaly deleted a row. Is there any way to recover this row ? Like an Undo or somthing like this ? Thanks for your help.

asked 27 Dec '12, 08:33

RDPSispetro's gravatar image

accept rate: 0%

The ROLLBACK statement is your "undo" in SQL... it will work until the the change is committed:

  • when an explicit COMMIT statement is executed,

  • when an implicit commit is performed; e.g., by a CREATE TABLE statement,

  • when you exit Interactive SQL with the commit_on_exit option set to 'ON' (the default).

See Executing COMMIT and ROLLBACK statements in Interactive SQL

permanent link

answered 27 Dec '12, 09:06

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

edited 27 Dec '12, 09:09

Thanks Mr Breck, works very fine. It looks simple, but just before you know it. Thanks a lot again.

(27 Dec '12, 12:18) RDPSispetro
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Dec '12, 08:33

question was seen: 2,404 times

last updated: 27 Dec '12, 12:18