Alex A
asked on
SQL Server: environment variables
Anybody knows how to get database name, database server name, OS server name, etc using T-SQL?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Yes - aneeshattingal does... :(
refer 'Serverproperty' in books online for more details
ASKER
thanks!