Hello! I've been working on an *interesting* request from our audit team regarding some data they want to pull out of the DPA repository. None of the canned reports are giving me exactly what I'm looking for, so I'm hoping the community can help?
I actually think I'll have two queries - one for detailed data and one for summary data.
I've identified the correct ID for the instance from the COND table.
For the detailed data, I'm looking at CONSW_XXX, CONST_XXX, and CONSS_XXX. Where I'm struggling is with how to join between the tables correctly. The Hash value lines up but the Date columns do not. Does anyone have any experience with these tables and how to accurately join them?
I have the following query, which bypasses the CONSW table, but does not give me the detailed date data, only to the nearest minute. I'd like to include the "D" column from CONSW_126, but I'm struggling with how to complete the join without getting extra rows back for each hash value. Any assistance is appreciated!
select ss.H, ss.D, ss.EXECS, st.ST
from CONSS_126 ss
join CONST_126 st on ss.H = st.H
The two fields that my audit team would like are 1) the SQL statement executed and 2) the Date.