I'm trying to write a for loop in Oracle sqlplus interface. When writing the loop statement an pressing enter, I get an error:
SQL> for i in 1..10 loop
SP2-0734: unknown command beginning "for i in 1..." - rest of line ignored.
SQL>
Is there something wrong with my for loop clause?