Nov 6, 2003 #1 strom99 MIS Nov 28, 2000 126 US Is it possible to retrieve the name of my database and/or server to display in my query? Thanks Much!!
Is it possible to retrieve the name of my database and/or server to display in my query? Thanks Much!!
Nov 6, 2003 #2 agoeddeke Programmer Jul 23, 2002 201 US strom99, SELECT DB_NAME() will return the name of the current database. Andy Upvote 0 Downvote
Nov 6, 2003 #3 sunila7 Technical User Apr 11, 2001 1,087 US Try this SELECT db_name() Sunil Upvote 0 Downvote