I've recently discovered the shell script.  Very nice.  I'm trying to
easily get SQL output from a bash script like I can do with postgres:

psql -c 'select * from user' <db-name-goes-here>

Can this be easily done?  The source coded didn't seem to include this
as an option.  Something like:

java -cp h2.jar org.h2.tools.Shell -url ... -user ... -password ... -
sql "select * from user"

and have it go to standard out?

- Jon

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to