SQL to get the the User Log In/Log Out time by User ID along with the IP Address

SELECT * FROM
PSACCESSLOG A
WHERE EXISTS (SELECT 'X'
                  FROM PS_EM_VNDR_USR_SRC EM, PSOPRALIAS OPR
                  WHERE EM.OPRID = OPR.OPRID
                  AND A.OPRID = EM.OPRID
                  AND OPR.OPRALIASTYPE = 'VND')
;

Comments

Popular posts from this blog

PeopleSoft AP Matching Process Key Tables for troubleshooting purpose

How to Set a Default Password in PeopleSoft

PS Query Security Tree