Tuesday, October 8, 2013

Find API Names From Back End

Find API Names From Back End:

From back end query the below script, we will get the API's Names.

select substr(a.OWNER,1,20)
, substr(a.NAME,1,30)
, substr(a.TYPE,1,20)
, substr(u.status,1,10) Stat
, u.last_ddl_time
, substr(text,1,80) Description
from dba_source a, dba_objects u
WHERE 2=2
and u.object_name = a.name
and a.text like '%Header%'
and a.type = u.object_type
and a.name like 'PO_%API%' -- Checking for PO Related APIs
order by
a.owner, a.name

No comments:

Post a Comment