show database in sql commandline code example
Example 1: show databases in sql server
SELECT * FROM SYS.DATABASES
Example 2: show database cmd
SHOW DATABASES LIKE '%schema';
+--------------------+
| Database (%schema) |
+--------------------+
| information_schema |
| performance_schema |
+--------------------+
2 rows in set (0.00 sec)
Code language: SQL (Structured Query Language) (sql)