Thanks for your reply Thomas.

I'm using H2 with a general JDBC client.  I create SQL scripts for
which I only need a sanity check.  I want it to halt if there is a
problem so control flow won't be useful.

I'm not complaining about having to add 2 lines to my script.  I was
just wondering if there was an accepted alternative to my approach...
but I guess not many people use H2 the way I'm currently using it.

Cheers,
Pete

PS: H2 absolutely rocks.

On Jun 24, 4:12 am, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> I guess one question is how you run the script. There are no 'control
> flow' features in H2 (except for 'if exists' / 'if not exists'), I
> guess that would be even more important (only execute a part of the
> script if a certain condition matches). I will increase the priority
> of this feature request. So far the idea is to use Java for
> 'programming' (flow control), but I see it's unnecessarily complicated
> for scripts.
>
> Regard,
> Thomas

-- 
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