About 4,110,000 results
Open links in new tab
  1. 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 functionality execute sp_configure 'user instances enabled', '0'.

  2. How can I set an SQL Server connection string? - Stack Overflow

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

  3. C / C++ ODBC app accessing a SQL database - ODBC Driver for SQL

    This C / C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database.

  4. Connect to SQL Database using C and C++ - Azure SQL Database

    Jun 25, 2024 · Copy the contents of the ODBC (Includes Node.js) [SQL authentication] string. We use this string later to connect from our C++ ODBC command-line interpreter. This string provides details such as the driver, server, and other database connection parameters. Add …

  5. Database Connectivity using C/C++ - GeeksforGeeks

    Jun 29, 2022 · string.h is a standard header file in the C language that contains functions for manipulating strings (arrays of characters). <string.h> header file contains some useful string functions that can be directly used in a program by invoking the #include preprocessor directive.

  6. Test SQL Connection String in C++ (WIN32) - Stack Overflow

    Aug 3, 2011 · try { using (SqlConnection conn = new SqlConnection("connection string here...")) { conn.Open(); } } catch(Exception ex) { MessageBox.Show(ex.Message); } Or you can use a ready-made app like this one to test a connection string.

  7. Connecting to SQL Server database using Visual C++

    Feb 25, 2012 · Try connecting to the database using visual studio's server explorer. If you connect successfully, you can right-click the connection and check out the properties. In there you will find the connection string - use that in your application and check out if it works.

  8. Create Connection String in C and VBNet - ASPSnippets

    Nov 23, 2020 · This article will illustrate how to create connection string for Windows and SQL Server based authentication for Windows Forms and Console Applications in C# and VB.Net. SQL Server Connection String for Windows Authentication in App.Config file

  9. Using connection string keywords - SQL Server Native Client

    Jan 9, 2024 · Some SQL Server Native Client APIs use connection strings to specify connection attributes. Connection strings are lists of keyword and associated values; each keyword identifies a particular connection attribute. For information, see Using Connection String Keywords with OLE DB Driver for SQL Server. Note.

  10. Chapter 10 Connector/C++ Connection Options - MySQL

    To connect to a MySQL server from Connector/C++ applications, use the connect() method of the MySQL_Driver class. The connect() method has two calling sequences: One calling sequence takes arguments indicating how to connect to the MySQL server, and the user name and password of the MySQL account to use: Example:

  11. Some results have been removed