Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何简单的方法可以查询存储过程(Oracle - PL/SQL)的期望参数?
我知道我可以查询USER_SOURCE以获取整个过程,但我必须解析整个过程,如果参数是类型,[table].[column]%TYPE我还必须查询表模式。
USER_SOURCE
[table].[column]%TYPE
仅使用 sql 或通过 ODP.Net。
USER_ARGUMENTS 视图将为您提供详细信息。
另一种方法是调用DBMS_DESCRIBE.DESCRIBE_PROCEDURE。