Query to list the custom and query reports and the technician created (MSSQL & PGSQL)

Query to list the custom and query reports and the technician created (MSSQL & PGSQL)


Tested in builds from PGSQL (14300) or MSSQL (14306)

Use case

The query displays the custom reports and query reports saved by technicians.

Query

SELECT custrepdet.report_name "Report Name",
              au.first_name"Created By" from customreportquery custrep
LEFT JOIN customreport_details custrepdet ON custrep.reportid=custrepdet.reportid
LEFT JOIN aaauser au on au.user_id=custrepdet.ownerid left join sduser sd on sd.userid=au.user_id
where au.first_name is not NULL


DB: MSSQL and Postgres
Filter: None

Sample Report



                  New to ADManager Plus?

                    New to ADSelfService Plus?