search for: commondsnname

Displaying 1 result from an estimated 1 matches for "commondsnname".

2011 Jun 13
2
computer name
...ame = pc1) thisServer = 'SERVER1' if(pcname = pc2) thisServer = 'SERVER2' conn <- odbcDriverConnect("driver=SQL Server;database=x;server=thisServer;") ...rest of code will now run OK. I know I could set the DSN names the same and use... conn <- odbcConnect("commonDSNname") but I was wondering if there was another way -- View this message in context: http://r.789695.n4.nabble.com/computer-name-tp3593120p3593120.html Sent from the R help mailing list archive at Nabble.com.