Error oracle ora-06550 pls-00103:

0

I have this PL-SQL code:

/*1. Criar um bloco PL/SQL anônimo para imprimir a tabuada abaixo:*/

DECLARE
  VN CONSTANT NUMBER(2) := 5;
BEGIN
    FOR i IN 1..1O LOOP
      DBMS_OUTPUT.PUT_(VN || ' X ' || i ||'='|| VN*i);
    END LOOP;
END;

Error message

  

Error Reporting - ORA-06550: Line 4, Column 18: PLS-00103:   The symbol "O" was found when one of the following symbols was   expected:

     
  • & - + / at loop mod mod rem rem ||   multiset The "*" symbol has been replaced by "O" to continue.      
  • 00000 - "line% s, column% s: \ n% s"   * Cause: Usually a PL / SQL compilation error.   * Action:
  •      

Table Structure

Image

    
asked by anonymous 25.01.2018 / 05:32

0 answers