Subject | Re: select .. into new_table from exist_table |
---|---|
Author | Svein Erling Tysvær |
Post date | 2005-05-28T22:55:10Z |
> > Can I use SQL-92 SELECT * INTO NEW_TABLE FROM EXIST_TABLE ???Wouldn't the syntax then be
>
> Only if new_table has identical structure to exist_table
INSERT INTO NEW_TABLE SELECT * FROM EXIST_TABLE?
I thought he was asking if it was allowed to mix DDL and DML within
one statement, and I must say I am a bit surprised if it is true that
the SQL-92 standard specifies this - even if it occationally would be
a convenient shortcut.
Set