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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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