How can I directly import data from SQL server to SAS? Is there sample code? Thank you!
you can do this by defining libname as shown below or by doing explicit pass through
LIBNAME SQL ODBC DSN=’sql server’ user=sasjlb pw=pwd;
Below two papers will be to give lot of info on this
https://support.sas.com/techsup/technote/ts765.pdf
http://analytics.ncsu.edu/sesug/2002/DM10.pdf
First you need to connect to SQL and that depends on your system set up.
Thank you for response!
you can do this by defining libname as shown below or by doing explicit pass through
LIBNAME SQL ODBC DSN=’sql server’ user=sasjlb pw=pwd;
Below two papers will be to give lot of info on this
https://support.sas.com/techsup/technote/ts765.pdf
http://analytics.ncsu.edu/sesug/2002/DM10.pdf
Thank you!
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: