Is it possible to run the script just updating the data, without dropping all tables?
I can already backup and restore, I would just like to use UPDATE OR MERGE in my schema. Em quinta-feira, 8 de agosto de 2019 11:06:58 UTC-3, Bruno Santos Silva escreveu: > > I am using the most current version of h2 and I can create a backup via java > and restore data, > I would like to know if I can restore a backup only with the option to > update existing tables and columns is possible? > > I'm using this command in java > PreparedStatement statement = conn.prepareStatement ("RUNSCRIPT FROM?"); > statement.setString (1, file1); > statement.execute (); > statement.close (); > > to restore, what would it be like to update the fields? > > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/b124869e-b2bd-453c-93d8-5804aa5d80f5%40googlegroups.com.