Display current database in sql by select query

To Display current database in sql by select query  you can try following query in sql query editor.

SELECT DB_NAME() AS DatabaseName, DB_ID() DataBaseID

Comments