Oracle error ora-06550 pls-00103:

Asked

Viewed 684 times

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 report - ORA-06550: row 4, column 18: PLS-00103: Found the "O" symbol when one of the following symbols was expected:

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

Table structure inserir a descrição da imagem aqui

Imagery inserir a descrição da imagem aqui

  • 1..1O <- Would not be a zero ? Instead of The ?

  • OPS...thanks!!! ... must be the tiredness...I will sleep!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.