Technical Tips
Oracle
Copy Table Columns and Data | Main Menu | |||||||
|---|---|---|---|---|---|---|---|
|
| Copy Table Columns and Data |
|
|
|
As you may know, in Oracle the syntax from creating a table that is the same as another is: create NEWTABLE as select * from TABLE In SQL Server, the syntax is slightly different: select * into NEWTABLE from TABLE Note: This will not copy indexes, constraints, triggers, or other attributes of the table. It will copy the column names, data type, and data only. |