Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: 'history' for SQL commands

Re: 'history' for SQL commands

From: Vattekkat Satheesh Babu <vattekkat.babu_at_verizon.net>
Date: Sat, 30 Aug 2003 13:07:23 GMT
Message-Id: <pan.2003.08.30.13.07.34.605821@verizon.net>


On Sat, 30 Aug 2003 03:53:03 -0700, qazmlp wrote:

> Very often, I need to execute some of the previous SQL commands in the
> sqlplus command prompt. Is there anyway, to get the previous commands,
> similar to the history mechanism that shells follow in Unix.

If you are on Windows 2K or WinXP, I believe command line version of sqlplus.exe can do this; the SQL*Plus you get from Start menu is sqlplusw.exe which is useless...

http://gqlplus.sourceforge.net/

Or if you are using HP-UX, you can call sqlplus from ied; like

     ied sqlplus usr/pass_at_host

ied provides a command line history for command line program.

There seems to be an ied equivalent in Perl:

   http://www.netsw.org/system/tools/term/fep.tar.gz

--
Babu
http://vsbabu.org/
Received on Sat Aug 30 2003 - 08:07:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US