Thomas Keck
Member
I have recognized a different behaviour in handling substitution variables between the Command Window and SQLplus:
I try to submit the commit or rollback command by using it as content of a substitution variable.
In the command window the following works:
SQL> define bestaetigen=rollback
SQL> &bestaetigen;
Rollback complete
If I do the same in SQLplus, I get an error message:
SQL> define bestaetigen=rollback
SQL> &bestaetigen;
SP2-0734: Unbekannter Befehl ab "&bestaetig..." - restliche Zeile ignoriert.
How can I make SQLplus behave like the command window?
I try to submit the commit or rollback command by using it as content of a substitution variable.
In the command window the following works:
SQL> define bestaetigen=rollback
SQL> &bestaetigen;
Rollback complete
If I do the same in SQLplus, I get an error message:
SQL> define bestaetigen=rollback
SQL> &bestaetigen;
SP2-0734: Unbekannter Befehl ab "&bestaetig..." - restliche Zeile ignoriert.
How can I make SQLplus behave like the command window?