Does anyone have a connection string example for using RODBC and connecting to MS SQL Server 2014.
If I use below connection string works fine for SQL Server 2008 but not for 2014
library(RODBC)
connectionstring <- odbcDriverConnect('driver={SQL Server};server=Serveraname\\Instance name,PortNumber;database=database name;uid=username;pwd=password;')
Is it the Instance name
? On SQL server 2014 you do not need an instance name AFAIK. I suggest you use the Native Client driver. It usually works fine with 2014 SQL servers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.