Re: conditional statements

23 views
Skip to first unread message

Brian

unread,
Sep 4, 2012, 9:43:15 PM9/4/12
to h2-da...@googlegroups.com
I know you can do this:
CREATE TABLE IF NOT EXISTS TEST1(ID NUMBER,NAME VARCHAR(8));
or
DROP TABLE TEST1 IF EXISTS;


-Brian

Igal

unread,
Sep 5, 2012, 1:15:51 AM9/5/12
to h2-da...@googlegroups.com
hi Brian,

yes, I am familiar with these constructs, but I want to do one "if" test and perform multiple actions, for example creating multiple tables and indexes.

any ideas?

thanks,


Igal
Reply all
Reply to author
Forward
0 new messages