Returns the name of the default database for the current user.
If a DATABASE request has changed the current default database, then the DATABASE function returns the new name of the default.
ANSI Compliance
This statement is a Teradata extension to the ANSI SQL:2011 standard.