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 > Table Locking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-26-03, 16:26
bbanks bbanks is offline
Registered User
 
Join Date: Dec 2003
Posts: 7
Question Table Locking

Can someone please help me with ideas on how to accomodate a client request?

I have a online transaction with a substantial unit of work that reads many different tables. When the user selects a patient, they would like THAT patient locked from viewing from any other user. No other tables need to be locked.

Thank you in advance,
Bob
Reply With Quote
  #2 (permalink)  
Old 12-30-03, 11:17
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Re: Table Locking

The application would need to be modified to change the issolation mode of both the updater and anyone viewing. The program that needs the lock would update the record, setting the lock.

Another option would be to set a flag in the record at the start and have all others check for flag being set.

Either way, it's a program mod.
__________________
Fred Prose
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