Enterprise Manager Generic (MOSC)

MOSC Banner

need to create a oem report for nay new database created in the envrionment

edited Mar 26, 2014 12:00PM in Enterprise Manager Generic (MOSC) 8 commentsAnswered

Hello,

I need to create a oem report for any new database created in the environment. Please advise what sql should I use in the report generation.

I am using something like this whihc is not giving me correct results

select distinct first_value(first_metadata_load_time) over (partition by property_value),first_value(target_name) over (partition by property_value), property_name, property_value from MGMT_TARGETS T, MGMT_TARGET_PROPERTIES TP ,sysman.MGMT_TARGETS_LOAD_TIMES LT where T.target_guid=TP.target_guid and target_type='oracle_database'  and property_name IN ('MachineName', 'DBVersion', 'OracleHome','host','Boottime') and T.target_guid=LT.target_guid and FIRST_METADATA_LOAD_TIME>=sysdate-60  order by 1,2

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center