Tag Archives: ms sql 2000

How to get Current DB name and user in MS SQL server?

Most of the time I forget the command to get the DB name and current user when working. So decided to make post about it no better way to find the info fast. Here are the 2 commands that basically gets the info. Select DB_name() ; Select Current_user; Here is a post that my friend [...]