开发者

Any easy way to generate a build script from an H2 database?

开发者 https://www.devze.com 2023-02-20 16:26 出处:网络
let\'s image that one creates an H2 database with table, indexes, etc... Is there an easy way to extract a SQL script to recreate the structure of this database in another H2 database?

let's image that one creates an H2 database with table, indexes, etc... Is there an easy way to extract a SQL script to recreate the structure of this database in another H2 database?

I am not refe开发者_运维百科rring to the content of the tables, indexes, etc... I am just interested in the general structure of the database to replicate it elsewhere. Thanks.


I would use SCRIPT NODATA (returns a result set) or SCRIPT NODATA TO 'fileName'.

0

精彩评论

暂无评论...
验证码 换一张
取 消