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 > Informix > Locking problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-18-03, 07:47
TMCEU TMCEU is offline
Registered User
 
Join Date: Jun 2001
Location: Denmark
Posts: 4
Locking problem

I have a table created with row level locking. This table is being used by a external system (ODBC), which does SELECT * FROM Table and after succesfull processing of the data does a delete of the data with DELETE FROM Table WHERE ID <= X where X is equal to the largest ID returned from the previous select.

The problem is that the application feeding this table ocasionally fails on insert due to locking problems. I would claim that neither the select or delete would create an exclusive lock that would prevent inserts or am I wrong ?

All I have is my ISAM error. Any ideas how to identify the failing SQL statement ?

Thanks in advance
Thomas
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