Talk:Insert (SQL)
Appearance
![]() | Databases (inactive) | |||
|
I want to create a new table that have the same structure of an existing table. I don't want the records to be inserted in new table. I want only the structure of existing table.
- SQL:2003 says:
CREATE TABLE new_table_name [(column_names)] AS <subquery> WITH [NO] DATA
. DB2 usesCREATE TABLE new_table_name LIKE old_table_name
; both is irrelevant to the INSERT statement, however. --Stolze 10:56, 30 October 2006 (UTC)