ESQL database state functions

ESQL provides four functions to return database state. These are: