Hi,
I have a database on a Microsoft SQL Server (2008) that I need to read in SAS.
I've understood that I should use ODBC, but I can't get SAS to "speak" with the SQL Server.
The database on the SQL Server in a "Database Engine", with SQL Server Authentication.
Does anyone has a solution to my problem?
Best Regards
Are you on a server or desktop?
If desktop, and assuming and ODBC license, try following the instructions here:
Are you on a server or desktop?
If desktop, and assuming and ODBC license, try following the instructions here:
Please confirm if you have SAS/ACCESS to ODBC installed and licensed. Without this it is not going to work.
Also does your SAS server run on Windows or not? If it does you are in luck and you can easily use Windows Authentication with connections to SQL Server. If your SAS server runs on Unix then authentication gets a lot harder.
Please provide an example of what you have tried. If you are working in a totally Windows environment then you can specify everything for ODBC to work in a database connection string.
Hi Reeza and SASKiwi.
Sorry for late answer!
I'm using the SAS on a desktop, (not on a server), and have ODBC installed and licensed.
Right now I'm waiting for my IT-department to come and to do the ODBC Source set up that Reeza linked to
BR
It's possible you need IT, but you can usually click the User tab and set it up yourself.
The problem has been solved thanks to your link, I just managed to connect one of ours SQl Server to SAS.
Happy Monday 🙂
Thanks for the help!
BR
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.