Oracle
Create Table T_new as select * from Tab_old
SQL Server
Select * into T_new from T_old
表改名
Oraclealter table t rename to T_IdName
SQL Server
sp_rename ‘T‘ ,‘T_IdName‘
数据库改名
exec sp_renamedb ‘hrmsysdb‘,‘hrmsys‘
时间: 2024-10-13 06:21:43
Oracle
Create Table T_new as select * from Tab_old
SQL Server
Select * into T_new from T_old
表改名
Oraclealter table t rename to T_IdName
SQL Server
sp_rename ‘T‘ ,‘T_IdName‘
数据库改名
exec sp_renamedb ‘hrmsysdb‘,‘hrmsys‘