SET table1.col = table2.col1
FROM table2 WHERE table2.oldCol = table1.col
Oracle寫法
create table Table_New as select * from Table_Old
create table Table_New as select * from Table_Old
SQL Server寫法
select * into Table_New from Table_Old
select * into Table_New from Table_Old
沒有留言:
張貼留言