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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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