> select * from employee with (UPDLOCK) where empID = 100
>
> Does this statement lock the entire table or just one record (empID = 100)?
By rule it locks all rows "affected". However, it is only a "hint"
signalling intent and never a quaranteed lock. For example, another query
may have already gained a "lock" on the data.
Follow the links at this site...
http://www.ianywhere.com/developer/product_manuals/sqlanywhere/1000/en/html/dbwn
en10/wn-newjasper-s-3615826.html
-ralph