Using Proc FedSQL you can do what you need. The IPTRACE option will show the SQL pushed down to the DBMS, code example courtesy to @SASJedi
proc fedsql iptrace;
drop table fedsql_2_24 force;
create table fedsql_2_24 as
select
*
from
xora.xtimetest
where
tsb > tsa + ( 2 / 24 )
;
quit;
However since your users are using SAS Enterprise Guide query window, I think you need to write two functions:
One using Proc FCMP, so SAS will understand it
One in Oracle doing the date math
Then add the function information to the LIBNAME statement, so that the function is recognized for push down.
See this entry for more details:
https://communities.sas.com/t5/Base-SAS-Programming/Using-a-Teradata-UDF-in-SAS-Implicit-Sql-Pass-Thru/m-p/266454/highlight/true#M52527
... View more