BookmarkSubscribeRSS Feed
deleted_user
Not applicable
We are running on a client server EG install.

How would I build a query in EG without the access to ODBC databases module?

I've been told that EG 4.2 will do ODBC to oracle without either the access to odbc or odbc to oracle databases. I don't like the approach of doing an open to each table.

I would really like to be able to build queries in sql then use them in EG which is a capability I've used in Base SAS with access to odbc. Is this possible with EG?

finally, we should get EG 4.2 soon any odbc connection in EG is currently broken and it is hard to tell if my attempts to build queries is because of the odbc bug or because I'm doing it wrong. I'd like to have some tests available to run while the SAS tech support people are in the building that will prove full functionality before the say they are done and everything is working
7 REPLIES 7
deleted_user
Not applicable
So is it true? Can you do ODBC in EG without buying the access to ODBC package?

Silence makes me think that it is not true.
ChrisHemedinger
Community Manager
You can do it using File->Open->ODBC. It works great for small data sources, but there are performance considerations when you have large data.

See http://support.sas.com/kb/26/178.html for some more information.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
deleted_user
Not applicable
Almost every place I've worked one of the first things that I have to solve is how to best get at the data. Often database servers are totally out of gas and simple queries can take for ever or never finish at all.

Once our update is finished and we have a functional EG with ODBC I'll have to experiment. The tables I'm going after currently are not huge (<100,000 rows).

I am thinking of two different approaches (I would prefer to do an access/odbc that permit direct sql to the datasource but the extra cost for the server is prohibative right now). One approach would be to create a project with an Open=>ODBC and select the tables I need then do a proc sql to the tables. The other approach is to create an access database with links to tables in oracle.

I'll have to experiment once I'm able to get a reliable odbc connection to anything.
deleted_user
Not applicable
They finished the upgrade on Friday. However, the ODBC that comes with EG still does not work with Oracle. The interface is slow and very limited.

I have created an access database that links the oracle tables then created an ODBC connection to the access tables for EG. This works better but can someone explain why SAS renames the tables? It appears to append a number to the table name and it seems to have no relation to anything
ChrisHemedinger
Community Manager
You might simply need an updated ODBC driver for Oracle. Microsoft ships a generic Oracle ODBC driver, but it's not going to be as good as the one you can get directly from Oracle.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Doc_Duke
Rhodochrosite | Level 12
Kossack,

One follow-up to Chris's reference. If you are writing SQL code, that code is being executed on your SAS Server, not locally on EGuide. So, if you are using a LIBNAME in your SQL code (other than the ECLIBxxx that EGuide built) or using SQL Passthru, then you are going to need the appropriate SAS/Access product licensed for the SAS server.

And it doesn't take much data for Eguide to bog down...

And, Chris, thanks for the writeup. The M&M video is a great illustration, but it doesn't stand alone very well.

Doc
deleted_user
Not applicable
I was wondering about that. One solution I'm thinking about is creating local access db with links to the tables on the oracle server.

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
  • 7 replies
  • 1111 views
  • 0 likes
  • 3 in conversation