select * into
dynamicTableName from
fromTable
DROP dynamicTableName |
Create global temporary
table dynamicTableName
on commit preserve rows
as Select * from
fromTable where 1=0;
DELETE dynamicTableName
DROP TABLE dynamicTableName
|
First we need to create
& auto-populate the new table
Drop the table
|