Hi I am starting using the project deployment mode. I am using SQL server 2019
And I see when I add a connection in connection manager for a package, I cannot see the sql server native client driver any more.
What connection manager type do you recommend for SQL server connections?
Thanks
October 27, 2020 at 6:47 pm
The SQL Server Native Client (SQLNCLI) remains deprecated and it is not recommended to use it for new development work. Instead, use the new Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) which will be updated with the most recent server features.
October 27, 2020 at 8:38 pm
Thank you, but when I tried to add a connection manager, in the provider list, I don't see there is a MSOLEDSQL. I do see one named microsoft OLEDB provider for SQl server, but when I add it and look at the connection string, it is something like
Data Source=myserver;Initial Catalog=Truancy;Provider=SQLOLEDB.1;Integrated Security=SSPI;Application Name=SSIS-2019SSIS-{9CDABED8-B895-4E1F-86F9-1BE15149E31F}mserver.mydb;Auto Translate=False;
It is SQLOLEDB not MSOLEDB.
Also in the built in connection manager list on this page, I cannot find one with MSOLEDBSQL,
October 28, 2020 at 4:55 pm
Thanks. Yes it works. But if I look at the connection string: it is like I posted earlier:
Data Source=myserver;Initial Catalog=Truancy;Provider=SQLOLEDB.1;Integrated Security=SSPI;Application Name=SSIS-2019SSIS-{9CDABED8-B895-4E1F-86F9-1BE15149E31F}mserver.mydb;Auto Translate=False;
It is SQLOLEDB not MSOLEDB.
And microsoft online doc said it is deprecated.
MSOLEDB is available:
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
October 28, 2020 at 5:34 pm
Thanks, I tried again, this time I did get MSOLEDBSQL.1; in the connection string.
I wonder how I got SQLOLEDB.1 in early operation, I remember I chose the same one.
Thanks all
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply