In Toad for Oracle, I know how to select a row of data and export that to an Excel file or Excel instance.
Is there any way I can do the same thing from within a sql script, run through an editor window or via sqlplus ?
I have used the spool command to get a text file, though that is not quite what I'm looking for.