get the current database in sql server