Usage Note 40888: Using SAS/ACCESS® Interface to ODBC to access Microsoft SQL Server that is not in the 'home' domain
You can access Microsoft SQL Server server that is not in your 'home' domain, using
SAS/ACCESS Interface to ODBC, as follows:
Use the SQL Server Native Client 10 ODBC driver. Configure the data source name (DSN) in the ODBC Administrator, and select:
- With Integrated Windows authentication
- SPN (Optional): username@domain\password
The LIBNAME statement will only specify the DSN, e.g.
libname x odbc dsn=sqdb_auth;
but the Pass-Through code will look like this:
proc sql;
connect to odbc (required="driver=sql server native client 10.0;
Server=server;Trusted_Connection=Yes;DATABASE=database;
ServerSPN=username@domain\password;");
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to ODBC | Windows Vista for x64 | 9.1 TS1M3 SP4 | |
| Windows Vista | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | Data Management ==> Data Sources ==> External Databases ==> ODBC (Open Database Connectivity)
|
| Date Modified: | 2010-12-21 12:21:11 |
| Date Created: | 2010-09-14 10:54:43 |