is_singleusermode

Description

Returns 0 if Adaptive Server is not running in single-user mode. Returns 1 if Adaptive Server is running in single-user mode.

Syntax

is_singleusermode()

Parameters

is_singleusermode includes no parameters.

Examples

Example 1

Example shows a server running in single-user mode:

select is_singleusermode()

-----------
           1

Permissions

Any user can run is_singleusermode