ITPub博客

首页 > 数据库 > Oracle > How to get runtime LOV query script

How to get runtime LOV query script

原创 Oracle 作者:pan_tian 时间:2014-07-02 12:25:11 0 删除 编辑
  1. Get SID in your form

In the form, Help > About, to check this form Session SID.


NOTE: In different form, Session SID is different.

Then open LOV to trigger sql query, eg. open Subinv LOV in this misc txn form.


2. Get LOV SQL

Get prev_sql_addr, sid is the Form Session SID value which we get in step 1

SELECT s.prev_sql_addr,s.sql_address FROM v$session s WHERE s.sid = 741;


Then execute below query, you will get LOV query, t.address is PREV_SQL_ADDR.

SELECT sql_text FROM v$sqltext_with_newlines t WHERE t.address = \'4B664778\' ORDER BY t.piece;



转载请注明出处:http://blog.csdn.net/pan_tian/article/details/7662881



<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1203749/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Oracle E-Business Suite Release 12.2 New Feature - Global Lot Attributes Project
下一篇: Oracle UPK(User Productivity Kit)
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章