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 > Transaction Rolled back

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-10, 08:54
chinni2487 chinni2487 is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
Transaction Rolled back

Hi,

I have a table alamode on my database. When ever I perform an update on to the database it throws the message "Transaction Rolled back". It it not going to update the row. I am using the isql prompt to update the table. I can see the other tables in the database being updated but not this.

I tried to delete the row in the database and then insert the row I wanted. This case worked fine without any errors. Why is it that the update query failing with the message "Transaction Rolled back".

I am using 12.5.4 Sybase Adaptive server.

Thanks,
Chinni.
Reply With Quote
  #2 (permalink)  
Old 12-03-10, 04:42
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 415
Are there triggers, constraints, foreign keys defined on that table? Are there any other errors displayed?
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
  #3 (permalink)  
Old 12-03-10, 05:00
chinni2487 chinni2487 is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
Transaction Rolled back

There are no foreign keys or constraints defined on the table. We have one trigger defined on it.
Reply With Quote
  #4 (permalink)  
Old 12-06-10, 07:03
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 415
Quote:
Originally Posted by chinni2487 View Post
There are no foreign keys or constraints defined on the table. We have one trigger defined on it.
Does ther trigger contain clauses or situations in which a rollback is issued?
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
Reply

Tags
ase, database, sybase, update query

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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