Q: Execute SQL from command line?

From: Lu Gan <lugan_at_esumer.com>
Date: Thu, 22 Jul 1999 05:47:08 GMT
Message-ID: <3796B1BC.98ACC2_at_esumer.com>



Hi,

[Quoted] [Quoted] Is there a simple way to execute a SQL statement against an Oracle [Quoted] database from the command line and have the result output to stdout or to a file? I am expecting something like:

$ sqlplus2 connect-string -e "sql-statement" > /tmp/file.1

Any help will be greatly appreciated!

  • Lu
Received on Thu Jul 22 1999 - 07:47:08 CEST

Original text of this message