Thank you, I followed up with thread started in your link.
Hi:
I just started with SQL Server as well and I managed to get something running.
First - I set up the ODBC connection called it "Dbase" using AD authentication. Then I use this code:
proc sql;
connect TO ODBC (dsn=Dbase);
execute (execute my_stored_process 'my_parameter' ) by ODBC;
disconnect from ODBC;
quit;
seems to work fine. I presume that the "execute" can be change to any other SQL statements easily enough.
You could also do something like this:
create table work.have as select * from connection to ODBC (
select * from.... or really any database specific statement could go here
);
Let 80sMetalForever first figure out whether he is using SAS on Unix(AIX) or at Windows.
And having checked/verified it is installed correctly for him.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.