Skip to content

Show Database

Shows the active database.

Permissions

Command KindNeeded User Kind
ReadAdmin, Sys, SysTech

Parameters

None

Result

NameTypeDescription
DatabasestringName of the database.
DirectorystringDatabase directory on the server.
LoadedstringDatetime when the database was loaded.
SavedstringLast date and time when the database was saved from memory to disk.
SaveEnabledbooleanIf 'True' the database can be saved. It is a temporary value that is not saved in the database settings.
CatalogbooleanIf 'True' the database is visible in the 'Show Database Catalog' command.
OffsetMonthintegerStart month of the fiscal year (1=jan. till 12=dec.).
WebDirectorystringProtects a web service directory with 'BasicAuth'. If a value is set, a valid username and password of the database must be used to access the web service directory. E.g. '/MyFiles/SecretFiles/' protects a directory and '/' protects the whole web service.
DimensionsintegerNumber of database dimensions.
TablesintegerNumber of database tables.
LinksintegerNumber of database links.
CalculationsintegerNumber of database calculations.
CommandsintegerNumber of database commands.
CommandGroupsintegerNumber of database command groups.
ScriptsintegerNumber of database scripts.
TextsintegerNumber of database texts.
UsersTotalintegerNumber of database users (active and inactive).
UsersActiveintegerNumber of active database users.
RolesintegerNumber of database roles.
VariablesintegerNumber of database variables.
ConnectionsintegerNumber of active database connections.

Code

text
SHOW DATABASE