I am not sure if i'm configuring the setup correctly but getting an ORA-00900 invalid sql statement error when running an SQL statement in the dataset properties screen,dataset, export query and exporting to excel
i.e just a simple query and it works fine in toad directly. Does it need to be a specific format ?
column SESSION_KEY format a10
column INPUT_TYPE format a10
column status format a10
column START_TIME format a15
column END_TIME format a15
select SESSION_KEY, INPUT_TYPE, STATUS, to_char(START_TIME,'mm/dd/yy hh24:mi') start_time, to_char(END_TIME,'mm/dd/yy hh24:mi') end_time, elapsed_seconds/3600 hrs from V$RMAN_BACKUP_JOB_DETAILS
where input_type = 'DB FULL' and STATUS = 'COMPLETED' --and STATUS <> 'COMPLETED'
and start_time > sysdate - 1
order by start_time desc;