To restrict access to a database using the STOP DATABASE command, you must issue the command while the table or index is not is use.