Oct 22, 2003 #1 cjlarue Programmer Jun 27, 2001 240 US Is there a way to return the DB name in a select statement similar to getting servername as @@servername ? Regards Chuck LaRue ADRS Computer Services
Is there a way to return the DB name in a select statement similar to getting servername as @@servername ? Regards Chuck LaRue ADRS Computer Services
Oct 22, 2003 1 #2 JamesLean Programmer Dec 13, 2002 3,059 GB Code: select db_name() --James Upvote 0 Downvote
Oct 22, 2003 Thread starter #3 cjlarue Programmer Jun 27, 2001 240 US Excellent thanks Regards Chuck LaRue ADRS Computer Services Upvote 0 Downvote