Versions available for this page: CUBRID 8.3.0 | CUBRID 8.3.1 | CUBRID 8.4.0 | CUBRID 8.4.1 | CUBRID 8.4.3 | CUBRID 9.0.0 |
DATEBASE() returns the name of the currently-connected database as a VARCHAR type string. DATABASE and SCHEMA are used interchangeably.
DATABASE()
SCHEMA()
SELECT DATABASE(), SCHEMA();
;xr
database() schema()
============================================
'demodb' 'demodb'