Procedure documentationExecuting a Shell Command Locate this document in the navigation structure

 

You execute a shell command from within SQLCLI. This enables you, for example, to use Database Manager CLI to set the operational state of the database to ONLINE without exiting SQLCLI.

Prerequisites

You have started SQLCLI .

Procedure

\! <shell_command>

Example

You have already started SQLCLI and now realize that the operational state of the DEMODB database is still ADMIN.

While logged on as user OLEG with password MONDAY, you can use Database Manager CLI to set the operational state of the database to ONLINE by entering the following command in SQLCLI:

\! dbmcli -d DEMODB -u OLEG,MONDAY db_online