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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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