Connecting to an SQL Server instance using sqloledb

Connection string

This Microsoft OLE DB Provider for SQL Server connection string can be used for connections to SQL Server 2000 and SQL Server 7.0.

The syntax of specifying the server instance in the value of the server key is the same for all connection strings for SQL Server.

Provider=sqloledb;Data Source=myServerName\theInstanceName;
Initial Catalog
=myDataBase;
Integrated Security=SSPI;