Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

procedures without input parameters

Harikanth KonetiAug 24 2015 — edited Aug 26 2015

Hi Team,

I want to find all the stored procedure in my schema which  are not having input parameters. I have tried below query but no luck.

SELECT * FROM USER_OBJECTS WHERE OBJECT_NAME NOT IN

  (SELECT UNIQUE OBJECT_NAME

  FROM ALL_ARGUMENTS A where A.owner='xxxxx' 

  AND OBJECT_NAME IN (SELECT UNIQUE OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE='PROCEDURE'))

  AND OBJECT_TYPE='PROCEDURE'.


inner query I'm taking all the procedure having input parameters then I'm filtering the procedures not having input parameters.


unfortunately I'm getting the some procedures which are having input parameters. when I queried the same objects  from the ALL_ARGUMENTS table it is not giving me any record.


could you please let me know why those objects are not exists in ALL_ARGUMENTS.


Many Thanks,

Harikanth.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2015
Added on Aug 24 2015
12 comments
1,480 views