Green World

반응형

오라클 과거 실행 SQL 구문 확인법







SELECT *


FROM V$SQLTEXT


WHERE SQL_ID IN(




SELECT SQL_ID


FROM V$SQLAREA


WHERE LAST_LOAD_TIME BETWEEN SYSDATE - 1/24 AND SYSDATE


  AND PARSING_SCHEMA_NAME <> 'SYS'


  --AND SQL_TEXT LIKE 'W'


  AND MODULE = 'JDBC Thin Client'


  AND PARSING_SCHEMA_NAME = ㅎㅎㅎㅎㅎㅎㅎ


  --AND ROWNUM=1




) ORDER BY SQL_ID, PIECE ASC










반응형