Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Locking > Locks >

Database Locks

You can place a lock on the entire database when you open the database with the DATABASE statement. A database lock prevents read or update access by anyone but the current user.

The following statement opens and locks the sales database:

DATABASE sales EXCLUSIVE
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]