How to know the server name of SQL Server? -


is SQL Server 2008 R2 on my machine. I want to connect with Windows authentication mode I do not remember the server name .... I have also tested in SQL Server Configuration Manager but if no instance is running, how do I know the service name of SQL Server?

have you tried

  SELECT @@ SERVERNAME    

Comments

Popular posts from this blog

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - XML - Serialize class - Some questions -