Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / July 2006

Tip: Looking for answers? Try searching our database.

Locks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Smith - 03 Jul 2006 13:36 GMT
Can lock be obtained for index-key?
Rhino - 03 Jul 2006 14:08 GMT
> Can lock be obtained for index-key?
You _can_ lock a table via the LOCK TABLE statement but there is no LOCK
INDEX statement. DB2 will lock as much of an index as it needs to but your
application cannot specifically request a lock on an index.

--
Rhino
Art S. Kagel - 03 Jul 2006 15:17 GMT
> Can lock be obtained for index-key?

Depending on isolation level and the actual index used in the query, locks
are acquired by the engine automatically as needed.  There is no explicit
locking commands except at the table level.

Art S. Kagel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.