Oracle user created more than 6 months ago -
i trying find users created more 6 months ago. trying following must doing wrong. ideas? ... created_timestamp <= trunc(sysdate) - 180);
you can use this, letting oracle count months yu:
select * all_users created < add_months(sysdate, -6)
you can add trunc
sysdate
avoid problems time, if need.
Comments
Post a Comment