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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.