Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Source code of objects
> -----Original Message-----
> From: Brijesh Lal [mailto:lal_brijesh_at_yahoo.com]
>
> I don't remember the view in which source code is
For procedures, functions, packages:
select text
from dba_source
where owner = 'OBJECT_OWNER'
and name = 'OBJECT_NAME'
order by type, line ;
For database links:
select *
from dba_db_links ;
For views:
set long 4000 (or some other high number)
select text
from dba_views
where owner = 'VIEW_OWNER'
and view_name = 'VIEW_NAME' ;