Sybase Adaptive Server Anywhere Reference page 149

Table of Contents

Advertisement

Examples
The behavior of
dbstop
can be controlled if there are active connections on a
server. If there are active connections,
you wish to shut down the server. If you specify
command line, the server is shut down without prompting, even if there are
active connections.
Log output messages to file (–o)
file.
Operate quietly (–q)
running.
Do not stop if there are active connections (–x)
if there are still active connections to the server.
Stop without prompting (–y)
connections to the server.
To stop a database named asademo on the server myserver:
dbstop -c "uid=DBA;pwd=SQL;eng=myserver;dbn=asademo"
To stop a server myserver, regardless of the databases running:
dbstop -c "uid=DBA;pwd=SQL;eng-myserver;dbn=utility_db"
Chapter 4 Database Administration Utilities
provides a prompt asking if
dbstop
unconditional=true
Write output messages to the named
Do not print a message if the database was not
Stop the server even if there are still active
on the
Do not stop the server
131

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents