Reference Manual
CHAPTER 9. SQL Statements
To stop a database on the specified database server.
STOP DATABASE database-name
... [ ON engine-name ]
... [ UNCONDITIONALLY ]
The required permissions are specified by the database server -gd command-line option. This option defaults to none on the personal database server, and dba on the network server.
None
The STOP DATABASE statement stops a specified database on a specified database server. 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. By default, the database will not be stopped if there are connections to it.
SQL/92 Vendor extension.
Sybase Not applicable.
Stop the database named sample on the default server.
STOP DATABASE sample ;