show databases code example
Example 1: mariadb show all databases
SHOW DATABASES;
Example 2: show databases in sql server
SELECT * FROM SYS.DATABASES
Example 3: mysql get db name
SELECT DATABASE();
Example 4: show databases in sql server
SELECT * FROM SYS.SYSDATABASES
Example 5: show databases in sql server
EXEC SP_DATABASES