river1
SSC-Insane
Points: 24309
More actions
October 7, 2009 at 4:06 am
#136329
Hi,
Is there any t-SQL function that retrieves to me the actual database name where i'm connected?
thank you
arun.sas
SSChampion
Points: 11831
October 7, 2009 at 4:26 am
#1062667
select db_name()
October 7, 2009 at 4:27 am
#1062668
thanks
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply