在 mysql 上,假设我想将表建筑从 db1 重命名为 db2
rename table db1.buildings to db2.buildings;
在 postgres 上,我知道如何重命名同一个数据库中的表
alter table buildings rename to newbuildings;
是否可以在 postgres 上从 db1 重命名为 db2?
在 mysql 上,假设我想将表建筑从 db1 重命名为 db2
rename table db1.buildings to db2.buildings;
在 postgres 上,我知道如何重命名同一个数据库中的表
alter table buildings rename to newbuildings;
是否可以在 postgres 上从 db1 重命名为 db2?