If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Rollback

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-10, 08:00
manik019 manik019 is offline
Registered User
 
Join Date: Mar 2009
Location: New Delhi - India
Posts: 22
Rollback

How can i rollback on an update command ??
The command was issued on multiple tables without using transaction and without using commit.
Is it possible to rollback to previous state.
Reply With Quote
  #2 (permalink)  
Old 02-08-10, 10:27
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,781
Nope. Sybase is by default an implicit commit system. You can set individual sessions to behave differently, but if you did not begin a transaction, you can not roll it back. To get the data back, you will need to restore the database, or regenerate it from whatever original source it came from. If that original source was manual entry, you may have a bit of typing ahead of you.
Reply With Quote
Reply

Tags
commit, rollback, transaction

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On