Skip to Main Content

SQL & PL/SQL

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!

how to validate an input parameter value against a table?

W JamieOct 23 2017 — edited Oct 23 2017

hello,

I want to validate an input parameter against a table that has a list of table names and throws an exception. what is the best practice/way?

PROCEDURE insert(p_table_name IN list.table_name%TYPE) AS

 

     variables....

   

  BEGIN

   

     IF  (Need suggestion)

        

        EXCEPTION WHEN OTHERS THEN null;

END;

This post has been answered by unknown-7404 on Oct 23 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2017
Added on Oct 23 2017
3 comments
1,045 views