Can I get the name of all the function inside a package. Suppose I have a package PKG_OWA and I want to list all the procedure inside the package.
相关问题
- Can I skip certificate verification oracle utl_htt
- Can I skip certificate verification oracle utl_htt
- how to calculate sum time with data type char in o
- keeping one connection to DB or opening closing pe
- System.Data.OracleClient not working with 64 bit O
相关文章
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- Difference between FOR UPDATE OF and FOR UPDATE
- Oracle USING clause best practice
- Is there a method in PL/SQL to convert/encode text
- PHP PDO installation on windows (xampp)
I use this one:
your package:
your procedures (only from specs, i.e. global):
and in/out arguments from procedure:
enjoy!
The data dictionary view ALL_PROCEDURES (or USER_PROCEDURES if you just want your packages). Find out more.
This lists the public procedures exposed in the package specification. There is no easy way of retrieving the private procedures (that is, those specified only in the package body) except by processing the source text. Oracle do provide a utility PL/SCOPE which we can use to gather this information, but it requires us to change session settings and recompile our code, so it may not be suitable in all situations. Find out more.
The answer from APC is on the correct lines but the SQL given will only list the procedures owned by 'YOU' and is the same as selecting from USER_PROCEDURES but there could be packages in other schema
Also note that when you grant and revoke execute on a package, procedure or function, these show up in the DBA_TAB_PRIVS table (same table as insert/update/delete privileges on tables)
Once you avhe the name of a packages such as the Oracle supplied DBMS ones ,you can also use DESC which will provide a list of the parameters and types expected e.g.
Maybe useful to someone, this is a way to find out procedure and function specified on package body only too.