Mega Code Archive
Categories
/
MySQL Tutorial
/
Information Functions
SCHEMA() is a synonym for DATABASE()
mysql> mysql> select SCHEMA(); +----------+ | SCHEMA() | +----------+ | test | +----------+ 1 row in set (0.00 sec)