About 1,830,000 results
Open links in new tab
  1. How to find server name of SQL Server Management Studio

    Apr 18, 2013 · Open up SQL Server Configuration Manager (search for it in the Start menu). Click on SQL Server Services. The instance name of SQL Server is in parenthesis inline with SQL Server service. If it says MSSQLSERVER, then it's the default instance. To connect to it in Management Studio, just type . (dot) OR (local) and click Connect.

  2. How can I configure a default server connection in SSMS for …

    Oct 16, 2014 · Open RegEdit and navigate to the key HKEY_CLASSES_ROOT\ssms.sql.11.0\Shell\Open\Command. The value (Default) should read. Change this to. Where <server> is your desired default server. Rename the HKEY_CLASSES_ROOT\ssms.sql.11.0\Shell\Open\Command\DdeExec key to _DdeExec to prevent the shell from trying to open the file using DDE.

  3. Connect and Query SQL Server Using SSMS | Microsoft Learn

    Apr 16, 2025 · For Server name, enter the name of your SQL Server (you can also use localhost as the server name if you're connecting locally). If you're NOT using the default instance - MSSQLSERVER - you must enter in the server name and the instance name.

  4. How can I enter the correct server name using SSMS 19.1 with …

    Jun 14, 2023 · Here are some suggestions on how to find the correct server name using SSMS 19.1 with Windows authentication: Try using the default server name: You can attempt to connect using the default server name "localhost" or a period (.) without the quotes. These are commonly used to connect to the local SQL Server instance. Simply enter "localhost" or "."

  5. What to enter as "Server Name" in SQL Server Management Studio

    Aug 7, 2012 · When you install MSSQL Server to your computer, you install an 'instance' which typically has a name associated with it. You may have multiple instances, and you can even elect one of these to be the 'default instance' which is used if no instance name is specified.

  6. How does SSMS connect to a server's database without the instance name ...

    When connecting from SSMS, we enter in (server_name\instance). Like for example PC100\SQLexpress. But for some, only the server is entered and not the instance along with it. How does this work? I thought in order to connect, we …

  7. t sql - How do I connect to the default instance of SQL Server if …

    In this answer, I'll show you how to do it with T-SQL. Use this script, which I found here, to determine ServerName, InstanceName, HostName and PortNumber: set @key = 'SOFTWARE\MICROSOFT\Microsoft SQL Server\'+@@servicename+'\MSSQLServer\Supersocketnetlib\TCP' set @key = 'SOFTWARE\MICROSOFT\MSSQLServer\MSSQLServer\Supersocketnetlib\TCP'

  8. How to Connect to SQL Server Default Instance and SQL Server

    There are multiple ways you can connect to Default SQL Server Instance by using SSMS. Here are three ways. Open SSMS and then type (local), if there would be local SQL Server Instance on your machine, it will connect to it. By using Dot (.) You can simply put Dot (.) and connect to your default SQL Server Instance as shown below.

  9. MS SQL Server Management Studio - What to enter for Server Name?

    Feb 12, 2024 · In SQL Server Management Studio (SSMS), the "Server Name" field is used to specify the name of the SQL Server instance that you want to connect to. The format of the server name depends on how the SQL Server instance is configured.

  10. Default SQL Server Connection for SSMS | Microsoft Community …

    Sep 5, 2024 · What controls the default server for a script when opening via File / Open in SSMS? What is the best way to lock a script to specific server or make it more obvious which server this is being applied to.

  11. Some results have been removed
Refresh