Hi, > Does H2 SQL support a general if-else construct? I see that it does > support if in the context of table create/drop, but I need something > generally available to conditionally execute any H2 sql.
Sorry, this is not supported. You could create a Java function that executes a SQL statement (see CREATE ALIAS in the documentation). Regards, 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 -~----------~----~----~----~------~----~------~--~---
