How to get DOMAIN name from SQL Server? -
i tried using exec sp_who2;
gives host, users, etc. it's great need know sql server's domain name can install plugin sql server management studio. plugin dell product analyse server usage - "spotlight studio plugin" , runs service.
thanks
in t-sql, use query domain name of sql server:
select default_domain()[domainname]
Comments
Post a Comment