Echo Does Not Work in Command Window

The following works from SQLPLUS, but when I run it in the command window it barfs. I thought the command window supports all SQLPLUS commands.

echo dropping and then re-creating user pmp
drop user pmp cascade;
ERROR_RECEIVED -
ORA-00900: invalid SQL statement
If I remove the echo command it works.
 
You should use the prompt command instead of the echo command. For a list of supported commands, see chapter 7.3 in the user's guide.

------------------
Marco Kalter
Allround Automations
 
Back
Top