You do want to use your SQL server to do this - there is always the possibility that some other process not under your control will attempt to use your database. You don't mention what database server it is that you are using but does it support the:
syntax ?LOCK TABLE foo IN EXCLUSIVE MODE
/J\
In reply to Re: using perl to lock tables without locking myself
by gellyfish
in thread using perl to lock tables without locking myself
by sdyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |