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 --<-----

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 5512 views
  • 0 likes
  • 7 in conversation