MySQL Tutorial/Information Functions/SCHEMA
Версия от 13:44, 26 мая 2010; (обсуждение)
SCHEMA() is a synonym for DATABASE().
mysql>
mysql> select SCHEMA();
+----------+
| SCHEMA() |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
mysql>
mysql> select SCHEMA();
+----------+
| SCHEMA() |
+----------+
| test |
+----------+
1 row in set (0.00 sec)