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!

PLS-00103: Encountered the symbol "|" when expecting one of the following: . ( @ ; The symbol ". was

2947105Sep 7 2016 — edited Sep 7 2016

Hi Team,

I am creating the Compile invalid object application using Oracle  Apex. I am using the below pl/sql block.Here the :P5_STANDARD_ENV value call from apex page i.e VMWTST15 (env based which means dynamic ) user can choose the different environment for compiling the invalid objects from front end.I have created the db link for calling the target database name is

SQL> declare

p_env_name varchar2(80);

begin

p_env_name :='VMWTST15';  --(directly i have passed the envname)

dbms_output.put_line(p_env_name);

--sys.UTL_RECOMP.recomp_parallel@VEPS_TO_||p_env_name;--- commented

end;

/

Output :

--------------

VMWTST15

PL/SQL procedure successfully completed.

SQL> declare

p_env_name varchar2(80);

begin

p_env_name :='VMWTST15';  --(directly i have passed the envname)

dbms_output.put_line(p_env_name);

sys.UTL_RECOMP.recomp_parallel@VEPS_TO_||p_env_name; -- uncommented

end;

/

Getting the below error:

sys.UTL_RECOMP.recomp_parallel@VEPS_TO_||p_env_name;

                                       *

ERROR at line 7:

ORA-06550: line 7, column 40:

PLS-00103: Encountered the symbol "|" when expecting one of the following:

. ( @ ;

The symbol ". was inserted before "|" to continue.

Please help me to fix this issues.

Thanks,

Dhayalan V

This post has been answered by odie_63 on Sep 7 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2016
Added on Sep 7 2016
5 comments
1,627 views