About 224,000 results
Open links in new tab
  1. How can I set an SQL Server connection string? - Stack Overflow

    May 8, 2017 · To build the connection string, you need to instantiate an object from that SqlConnectionStringBuilder and set their properties with the parameters you use to connect to the …

  2. How to get the connection String from a database

    May 7, 2012 · The easiest way to get the connection string is using the "Server Explorer" window in Visual Studio (menu View, Server Explorer) and connect to the server from that window.

  3. Force the TCP/IP protocol in connection string - Stack Overflow

    24 You can use server=tcp:hostname in your connection string to achieve this. For more details, see How to use the server name parameter in a connection string to specify the client network library

  4. Connection string using Windows Authentication - Stack Overflow

    This Stack Overflow thread discusses how to use a connection string with Windows Authentication in your application.

  5. sql server - What is the difference between Integrated Security = True ...

    Dec 14, 2023 · 653 I have two apps that use Integrated Security. One assigns Integrated Security = true in the connection string, and the other sets Integrated Security = SSPI. What is the difference …

  6. What is "Connect Timeout" in sql server connection string?

    In addition, SqlCommand.CommandTimeout specifies the timeout value of a specific query running on SQL Server, however this is set via the SqlConnection object/setting (depending on your …

  7. sql - Should I set max pool size in database connection string? What ...

    public static string srConnectionString = "server=localhost;database=mydb;uid=sa;pwd=mypw;"; So currently how many connections does my application support? What is the correct syntax for …

  8. Setting up connection string in .NET Aspire - Stack Overflow

    May 24, 2024 · Starting with the Aspire starter solution I've added the ability to reach out to an Azure SQL Server database. In my AspireSample.ApiService I have the following line in Program.cs builder.

  9. c# - Using Encrypt=yes in a Sql Server connection string -> "provider ...

    Sep 9, 2010 · I'm using Encrypt=yes in a SQL Server connection string, as I need the TCPIP traffic to be encrypted, but on opening the connection I get an error: A connection was successfully established …

  10. python - How do I connect to SQL Server via sqlalchemy using …

    71 sqlalchemy, a db connection module for Python, uses SQL Authentication (database-defined user accounts) by default. If you want to use your Windows (domain or local) credentials to authenticate to …