All Progress locks are available on temp tables.
Temp tables are just pseudo tables.
The FULL use of the 4GL applies here
NO-LOCK, EXCLUSIVE-LOCK,
SHARED-LOCK .... Though shared lock is old school programming, I would advise NOT to use.
The only locks that you should use are NO-LOCK and only when updating/writing the record EXCLUSIVE-LOCK
Because temp tables are local to the session there is nobody to contend with for the lock. Thus all locks are ignored.
You might argue that specifying locks is, perhaps, useful in that maybe someday you change the table to a real table? Or maybe you want to use them to indicate to yourself that you intend to update the record (or not).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.