Thanks for the question, saeedeh.
Asked: November 06, 2017 - 4:12 pm UTC
Last updated: November 09, 2017 - 11:49 am UTC
Version: 11.1
Viewed 1000+ times
select count(*) from all_objects where owner = 'SYSTEM' and ( object_id = 123 or created > sysdate ) and ( status = 'VALID' or DUPLICATED = 'YES' or SHARDED = 'YES' )
The Oracle documentation contains a complete SQL reference.