Determining the Current Database : Current Database « Database « SQL / MySQL
- SQL / MySQL
- Database
- Current Database
Determining the Current Database
mysql>
mysql> SELECT DATABASE( );
+-------------+
| DATABASE( ) |
+-------------+
| test |
+-------------+
1 row in set (0.00 sec)
Related examples in the same category