BookmarkSubscribeRSS Feed
80sMetalForever
Calcite | Level 5

Thank you, I followed up with thread started in your link.

OS2Rules
Obsidian | Level 7

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.

DBailey
Lapis Lazuli | Level 10

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

);

jakarman
Barite | Level 11

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.

---->-- ja karman --<-----

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 18 replies
  • 7028 views
  • 0 likes
  • 7 in conversation