SQL Plus - Edit Command


The edit command invokes an operating system text editor on the contents of:

  • the specified file
  • or on the contents of the SQL buffer.


ED[IT] [file_name[.ext]]


  • file name is the name of a file without extension. (Default the current SQL buffer, when you exit the editor, the changed SQL buffer is returned to SQL*Plus)
  • ext is the file extension (default sql)

How to

open a file

ed D:\svn_sql\login.sql

to open the file D:\svn_sql\login.sql

open the buffer


Powered by ComboStrap