select INST_ID,to_char(last_active_time,'yyyymmdd HH24:mi'),SQL_TEXT from gv$sqlarea where parsing_schema_name = 'YYGL' and to_char(last_active_time,'yyyymmdd HH24:mi') >'20200304 17:20' and to_char(last_active_time,'yyyymmdd HH24:mi') <'20200304 17:40' order by last_active_time;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30186176/viewspace-2737980/ ,如需转载,请注明出处,否则将追究法律责任。