Skip to content

Show Databases

Shows the databases of the server.

Permissions

Command KindNeeded User Kind
ReadSys, SysTech

Parameters

NameTypeDescriptionRequiredDefaultValues
FindstringValue to search for in name and captions.no
MaxRecordsintegerMaximum number of records to be returned. The default value is 500000.no500000
SortstringSorts the output by name or caption ([Field].[Caption1]). The field can be [Database]/[Name], [Caption1], [Caption2], [Caption3], [Caption4], [Caption5], [Caption6], [Caption7], [Caption8], [Caption9], [Caption10]. Sort can be Ascending (Asc) or Descending (Desc), e.g. [Caption1].[Ascending]no

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 texts.
TextsintegerNumber of database scripts.
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 DATABASES
FIND=[string]
MAXRECORDS=[integer, default=500000]
SORT=[string]