Dbcache Show
Displays the names of the databases currently in the cache.
Details
Use this command to see if the database cache has a database open. Applications that cannot get exclusive access to a database may fail if the database is in the database cache.
Syntax
dbcache show