December 7, 2013

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

No comments:

Post a Comment