Skip to content
Prev 341721 / 398498 Next

Change database in SQL Server using RODBC

Thanks for everyone?s help.

I followed the instruction given on a variety of web pages in order to 
set up the connection. The problem is trying to use the first connection 
for a second database and doing so from within R.

It seems to me that an easy workaround is to simply set up another 
connection and use a second database as the default.

In Windows 7 the basic strategy is do the following:

Control Panel

Administrative Tools

Data Sources (ODBC)

In the ODBC Data Source Administrator pop up select SQL 2012 and then 
click on Add.

Since I do not have to work with a large number of databases, I consider 
this to be a satisfactory work around.
On 6/30/2014 8:17 AM, Frede Aakmann T?gersen wrote: