我已经创建了sebyrales Derby数据库和数据。
我需要更改每个模式的模式名称,因此我正在寻找一种有效的方法来重命名模式或导出所有数据并将其导入freshley创建的数据库中。
感谢您的建议
答案 0 :(得分:1)
create table mynewschema.mynewtable( column-definitions... );
insert into table mynewschema.mynewtable select * from myoldschema.myoldtable;
drop table myoldschema.myoldtable;