Vertica Analytics Platform Version 11.0.x Documentation
Returns the name of the current database, equivalent to DBNAME.
DBNAME
Stable
Parentheses are optional.
CURRENT_DATABASE()
=> SELECT CURRENT_DATABASE; CURRENT_DATABASE ------------------ VMart (1 row)
Was this topic helpful? Yes No