PLS-00201 - identifier must be declared PLS-00201 - identifier must be declared oracle oracle

PLS-00201 - identifier must be declared


When creating the TABLE under B2BOWNER, be sure to prefix the PL/SQL function with the Schema name; i.e. B2BOWNER.F_SSC_Page_Map_Insert.

I did not realize this until the DBAs pointed it out. I could have created the table under my root USER/SCHEMA and the PL/SQL function would have worked fine.


The procedure name should be in caps while creating procedure in database.You may use small letters for your procedure name while calling from Java class like:

String getDBUSERByUserIdSql = "{call getDBUSERByUserId(?,?,?,?)}";

In database the name of procedure should be:

GETDBUSERBYUSERID    -- (all letters in caps only)

This serves as one of the solutions for this problem.


you should give permission on your db

grant execute on (packageName or tableName) to user;