Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
15 lines (15 loc) · 802 Bytes

File metadata and controls

15 lines (15 loc) · 802 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
accept sql_text -
prompt 'Enter sql_text :'
set pagesi 1000
set linesi 190
col plan_hash format 9999999999
col p format a1
set verify off
column sql_text format a60 trunc
col sql_id format a14
col SQL_PLAN_BASELINE format a30
col last_active_time format a20
col user_name format a10 trunc
col module format a5 trunc
select parsing_schema_name user_name,module,sql_id,plan_hash_value plan_hash,SQL_PLAN_BASELINE,(case when sql_profile is not null then 'Y' else 'N' end) p,max(last_active_time) last_active_time,max(sql_text) sql_text from v$sql where lower(sql_text) like lower('%&sql_text%') and sql_text not like '%where sql_text like%' group by parsing_schema_name,module,sql_id,plan_hash_value,SQL_PLAN_BASELINE,(case when sql_profile is not null then 'Y' else 'N' end) order by 7;
undef sql_text;
Morty Proxy This is a proxified and sanitized view of the page, visit original site.