Skip to content

GET_DBMS

GET_DBMS returns a string which identifies the currently used database system.

Syntax

leo-grammar
CC "DB" GET_DBMS

#--> RESULT dbms: stringValue
CC "DB" GET_DBMS

#--> RESULT dbms: stringValue

Parameters

none

Returns

  • dbms (strValue) - ingValue, one of the following values: "db2", "oracle", "informix", "sqlserver" or "none"; "none" indicates that no DBMS is active. In a normal environment this should actually never be returned.

Details

See Also

Examples

Get the currently active database system

leo-grammar
CC "DB" GET_DBMS
CC "AdoScript" INFOBOX ("You are currently using: " + dbms)
CC "DB" GET_DBMS
CC "AdoScript" INFOBOX ("You are currently using: " + dbms)

Versions and Changes

Available since ADOxx 1.3