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

    Apr 18, 2013 · To connect, the Server name box must contain the name of the computer where SQL Server is installed. If the Database Engine is a named instance, the Server name box …

  2. Use server name parameter in a connection string - SQL Server

    Jun 20, 2023 · In Microsoft Data Access Components (MDAC) 2.6 and later, you can specify the client access library by using the server name parameter in connection string. Therefore, you …

  3. SQL Server Query : Host name - Stack Overflow

    Jun 24, 2016 · SELECT HOST_NAME() AS HostName, SUSER_NAME() LoggedInUser http://blog.sqlauthority.com/2009/05/26/sql-server-find-hostname-and-current-logged-in-user …

  4. How to find out user name and machine name to access to SQL server

    Apr 10, 2015 · If the connection is "sa" (or any other SQL login) then you can't find the domain/windows user name. SQL Server only knows it's "sa" or that SQL login. HOST_NAME …

  5. SQL SERVERFind Hostname and Current Logged In User Name

    May 26, 2009 · SELECT es.program_name, es.host_name, es.login_name, COUNT(ec.session_id) AS [connection_count] FROM sys.dm_exec_sessions AS es INNER …

  6. HOST_NAME (Transact-SQL) - SQL Server | Microsoft Learn

    Dec 29, 2022 · Applies to: SQL Server 2016 (13.x) and later Azure SQL Database Azure SQL Managed Instance. Returns the workstation name. Transact-SQL syntax conventions. Syntax …

  7. SQL Server Connection Strings Reference Guide

    Jan 6, 2025 · Make a database connection using SqlClient as follows: Server – is the SQL Server instance name. For a named instance you need to specify the serverName\instanceName. …

  8. Connection string syntax - ADO.NET Provider for SQL Server

    Nov 19, 2024 · To connect to a named instance of SQL Server, use the server name\instance name syntax. "Data Source=MySqlServer\MSSQL1;" You can also set the DataSource …

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

    Aug 7, 2012 · Is the sql server you're trying to connect to on a different computer or your own? If it's on the machine you're launching the management studio from it is likely 'localhost' or …

  10. SQL Server connection strings - ConnectionStrings.com

    To use the User Instance functionality you need to enable it on the SQL Server. This is done by executing the following command: sp_configure 'user instances enabled', '1'. To disable the …

  11. Some results have been removed
Refresh