Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
SQL
DECLARE
2  N NUMBER(4):=&N;
3  BEGIN
4  FOR I IN 1..10
5  LOOP
6  DBMS_OUTPUT.PUT_LINE(N||'*'||I||'='(N));
7  END LOOP;
8* END;


SQL>*ERROR at line 6:
ORA-06550: line 6, column 36:
PLS-00103: Encountered the symbol "(" when expecting one of the following:
) , * & = - + < / > at in is mod remainder not rem =>
<an exponent=""> <> or != or ~= >= <= <> and or like like2
like4 likec as between from using || member submultiset
The symbol "," was substituted for "(" to continue.</an>
Posted
Updated 4-Aug-15 3:39am
v2
Comments
Kornfeld Eliyahu Peter 4-Aug-15 9:45am    
What do you mean by the (N) at the end?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900