Yes, but I think it requires a separate file for each command.  Is
there an option to read the script from stdin?

On Feb 4, 2:32 pm, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> Did you have a look at the RunScript tool?
>
> http://www.h2database.com/javadoc/org/h2/tools/RunScript.html
>
> Regards,
> Thomas
>
> On Wed, Feb 4, 2009 at 3:44 PM, Erez <[email protected]> wrote:
>
> > It would be nice to have a -q (quiet) or -b (batch) option to the H2
> > Shell command line too, so we can more easily use it in automated
> > scripts, where we might need to parse the output.
>
> > This would eliminate the "welcome" text, as well as the SQL> prompt
> > and extra return information (like the number of rows and the amount
> > of time it took to complete the sql.)
--~--~---------~--~----~------------~-------~--~----~
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