One can edit SQL scripts and the command buffer (the last command entered) with the EDIT (or ED) command. However, sometimes one needs to select a editor before using this command. Examples:
Use the Unix/Linux vi-editor:
DEFINE _EDITOR=vi
Use the Notepad on Windows:
DEFINE _EDITOR=notepad
TIP: Add this command in your login.sql or glogin.sql scripts so it executes every time you start sqlplus.
No comments:
Post a Comment