Microsoft
Software
Hardware
Network
Question : check if record is already locked
When a user retrieves a record, I would like to be able to check if the record has been locked by someone else. If not, I want to be able to lock it, run an update statement if needed and release the record again. I want that check to be done when the data is retrieved, regardless of whether the user chooses to change something on the form.
Which trigger should I use and how do I go about checking whether the record can be reserved or not?
Answer : check if record is already locked
if u use an "for update NOWAIT" in sql statement, THEN IT raise an exception saying it is locked, otherwise continue with updation.
Random Solutions
Virtual Data Recovery Error
String manipulation - SLB FP Equity --> SLBP.PA
run excel and run the enable auto refresh
TS users access maping folders in windows 2008 slow
sbs 2008 backup configuration
How can I shrink a LDF file of 54GB?
windows 7 home password policy
Setting Up Raid On Windows 2003 Server With Faulty Hard Drive
A non-SYN packet was dropped because it was sent by a source that does not have an established connection with the Forefront TMG computer
Video Chat Capabilities