時分秒で出力させる
to_char(c.cancel_date_time, 'yyyy/mm/dd hh:mi:ss')
キーワード検索でテーブル名を検索する
undefine 1
select lower(owner || '.' || table_name) from all_tables where table_name like UPPER('%&1%') order by 1
/
テーブル名とカラム名のキーワードでテーブルを検索する
col tab format a40
select rpad(lower(owner || '.' || table_name), 40, ' ') as tab, lower(column_name) as col from all_tab_columns where table_name like upper('%&table_name%') and
column_name like upper('%&column_name%')
/
実行計画の見方
SELECT * FROM table(DBMS_XPLAN.DISPLAY_CURSOR('&sqlid',0));
Sign up here with your email
ConversionConversion EmoticonEmoticon