BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
acordes
Rhodochrosite | Level 12

I'm struggling to geting it work:

 

It gives the error messge:

Unsupported operation in FedSQL query: Correlated EXISTS subquery

 

How can I circumvent this?

I want to use fedsql as it performs much better on large caslib tables.

 

proc cas;
source MPG_toyota;
		create table public.sum22{options replace=true} as 
    select a.* from public.JS_MTOS_V2AA a
    where exists (select codopera from public.outys b
    where b.codopera=a.codopera);  ;
endsource;
fedSQL.execDirect / query=MPG_toyota;
quit;
1 ACCEPTED SOLUTION

Accepted Solutions
acordes
Rhodochrosite | Level 12

I've found the answer.

 

It states.

Using FedSQL in SAS Cloud Analytic Services

...

 

The following SELECT statement features are not supported:
SET operations
correlated subqueries
dictionary queries
views
DS2 user-defined functions (UDFs)

 

 

https://documentation.sas.com/doc/en/vdmmlcdc/8.11/proc/p03fos5ei9l0opn1vm82gu383g10.htm 

View solution in original post

1 REPLY 1
acordes
Rhodochrosite | Level 12

I've found the answer.

 

It states.

Using FedSQL in SAS Cloud Analytic Services

...

 

The following SELECT statement features are not supported:
SET operations
correlated subqueries
dictionary queries
views
DS2 user-defined functions (UDFs)

 

 

https://documentation.sas.com/doc/en/vdmmlcdc/8.11/proc/p03fos5ei9l0opn1vm82gu383g10.htm 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 652 views
  • 0 likes
  • 1 in conversation