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 > MySQL > Delete Not working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-06-04, 08:48
sgopan sgopan is offline
Registered User
 
Join Date: Aug 2004
Posts: 1
Unhappy Delete Not working

I am using MySQL 4.1.3 beta server and jdbc driver 3.0.14 production stable .I having problem with simple deletes ..I am unable to delete certain records in the DB.I think the DB records are getting locked when I try a delete.Even through a different DBCOnnection I am unable to delete the same record.


One of the scenario is something like this...

I am having a table having a field with UNique key constraint on say a field 'name'.If I try create a record(with a name which is already there) which violates this constraint and then create it again(by changing the name) by changing the name.I will not be able to delete the same record again..Also if i am using only one DB connection then the error thrown while deleting the record is the error which was thrown during creating of the record with Unique key violation.

I would be grateful if anyone could help me with this. I am in a deadlock situation.

regards
Gopan
Reply With Quote
Reply

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