To stop a database on the specified database engine
STOP DATABASE database-name
... [ ON engine-name]
... [ UNCONDITIONALLY]
ISQL
None
None
The STOP DATABASE statement stops a specified database on a specified database engine. If engine-name is not specified, all running engines will be searched for a database of the specified name.
If the UNCONDITIONALLY keyword is supplied, the database will be stopped even if there are connections to the database. If UNCONDITIONALLY is not specified, the database will not be stopped if there are connections to it.
Stop the database named sample on the default engine.
STOP DATABASE sample ;