BookmarkSubscribeRSS Feed
RDWright
Calcite | Level 5
I am struggling with EG3 and creating queries on some tables.

I am sometimes getting the error "Cannot create a query on ....". I am pulling data in via ODBC from SQL Server. I cannot yet isolate the problem.

There are several tables that work OK, but a composite table of the same data where I aggregate several locations together does not work.

The problem doesn't seem to be size, I have tried subsets to no avail.

Where do I look to find the problem?

Thanks!!!!
4 REPLIES 4
deleted_user
Not applicable
Need a little more information.

The composite table, is it a view in SQL Server? or is it an EG query that is joining a bunch of tables?
RDWright
Calcite | Level 5
It is a table in SQL Server. I wanted to do the aggregation work at the backend rather than at the front in EG.

When I try views, I get an error that EG cannot connect.

Thanks!
deleted_user
Not applicable
Does not work means what?

Is the schema with the aggregated data different from the source data?
RDWright
Calcite | Level 5
Does not work means that EG throws the error "Cannot create query on 'tablename'"

The data is the same, with the exception of some calculated columns. But EG is pulling a table from SQL Server, not a view. I have tried removing the additional columns, but still get the same error.

I executed a data transformation procedure to convert the view to a table.

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
  • 4 replies
  • 732 views
  • 0 likes
  • 2 in conversation