On Wed, 22 Aug 2007, Gauthier, Dave wrote:

On Linux...

How can I execute a sql command against a sqlite DB straight from the
command line.  Somethign like....

sqlite3 foo.sqldb -e "select * from mytable"
or...
sqlite3 foo.sqldb < "select * from mytable"

Dave,

  Write a script. If there's a response from the application, include
expect.

Rich

--
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to