DATABASE() returns the default (current) database name. : DATABASE : Information Functions MySQL TUTORIALS


MySQL TUTORIALS » Information Functions » DATABASE »

 

DATABASE() returns the default (current) database name.


mysql>
mysql>
mysql> SELECT DATABASE();
+------------+
| DATABASE() |
+------------+
| test       |
+------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Information Functions
» DATABASE