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!
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.