Solve the stuck problem when compiling ORACLE PS/SQL

select 'alter system kill session ''' || s.SID || ',' || s.SERIAL# || ''' immediate;'
  from v$session s
 where s.SID in (select dl.session_id
                   from dba_ddl_locks dl
                  where lower(dl.name) like '%cux_ap_voucher_split_pvt%');

Guess you like

Origin blog.csdn.net/x6_9x/article/details/117227371
Recommended