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
Raid 1 Rebuild Failed - Adaptec 1210SA
BES and NSPI connections
Exchange 2007 installation on a Windows 2008 server.
Exchange 2010. Install Failed, now can't uninstall
Need to modify X-Cart to create .csv file for orders
Flex CountDown Timer
asp.net connection string error.
Thumbnail Photo on Exchange 2007
Outlook not attack shortcut (lnk) attach directly the file
#550 5.3.4 SMTPSEND.OverAdvertisedSiz
e; message size exceeds fixed maximum size ##