SQLExec("SELECT A.XLATSHORTNAME, A.XLATLONGNAME FROM PSXLATITEM A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PSXLATITEM B WHERE

This PeopleCode function uses effective-date logic to return the current row from PSXLATITEM.
SQLExec(“SELECT A.XLATSHORTNAME, A.XLATLONGNAME FROM PSXLATITEM A
WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PSXLATITEM B WHERE

This PeopleCode function uses effective-date logic to return the current row from PSXLATITEM.
SQLExec(“SELECT A.XLATSHORTNAME, A.XLATLONGNAME FROM PSXLATITEM A
WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PSXLATITEM B WHERE

A.
FIELDNAME = B.FIELDNAME AND

B.
FIELDVALUE = B.FIELDVALUE AND

C.
EFFDT <= <date>)”);
Which system variable should be substituted for <date> so the function correctly returns the
current row as of the run date for all supported databaseplatforms?

D.
%Date

E.
%AsOfDate

F.
%DateTime

G.
%EffDtCheck

H.
%CurrentDateIn

I.
%CurrentDateOut

Explanation:



Leave a Reply 1

Your email address will not be published. Required fields are marked *


RANJINI

RANJINI

SYSDATE is the best option