EBS查询当前LOV SQL

用于查询当前form界面上LOV所执行的SQL

1、获取会话SID sessionID

菜单栏 --》帮助 --》 关于...

171054539.jpg


2、选取LOV

171148330.jpg


3、查询SQL

SELECT s.Prev_Sql_Addr, s.Sql_Address
  FROM V$session s
 WHERE s.Sid = 374;

171201128.jpg


SELECT Sql_Text
  FROM V$sqltext_With_Newlines t
 WHERE t.Address = '070000007AC50208'
 ORDER BY t.Piece;

171229800.jpg


SELECT Sql_Text, s.Prev_Sql_Addr, s.Sql_Address
  FROM V$session s, V$sqltext_With_Newlines t
 WHERE s.Prev_Sql_Addr = t.Address(+)
   AND s.Sid = 393;


你可能感兴趣的:(sql,sql,form,LOV,EBS查询当前LOV)