Hi,
I am running out with below Syntax error message for SAS Proc Sql code.
the below code is working fine in Sql developer and shared with SAS user to run and collect result,
but the code through error for sql functions - over, count and (+) in below code.
====================================
select name,cde_fund_code,id_provider,D.num_check, sak,A.sAcct_rec, C.chk_sak,amt_setup,amt,B.dte_payment_issue,amt_setup -sum(amt) over (PARTITION BY A.sak_Acct_rec order by dte_payment_issue ), count(amt) over (PARTITION BY A.sak_Acct_rec order by dte_payment_issue ) from A, B, C, D where A.s_fund_code in ( '****','****') and B.acct_rec (+) = A.acct_rec and C.sak (+) = B.sak and D.chk_sak (+) = C.chk_sak;
is there any different function to use SAS Proc sql? because its working fine in Sql Developer.
How to fix this and run the code withut errors?
... View more