Java Mysql创建sql多表
有可能得到这样的输出吗Java Mysql创建sql多表,java,mysql,Java,Mysql,有可能得到这样的输出吗 dbName tableName createSql test t1 create table t1 ( id int not null ) test t2 create table t2 ( id int not null ) prod t9 create table t9 ( id int not null ) 在mysql中使用一个简单的sql查询。您可以尝试从信息中重新创建create语句,但
dbName tableName createSql
test t1 create table t1 ( id int not null )
test t2 create table t2 ( id int not null )
prod t9 create table t9 ( id int not null )
在mysql中使用一个简单的sql查询。您可以尝试从信息中重新创建create语句,但可能有人已经这样做了;你可以简单地循环所有的表,做一个显示,创建,然后相应地总结它;也可以编写一个SP来执行此操作。另一个选项是mysqldump-d