The default for COMMIT is DELETE ROWS which happens when the Inserts is commited :-)
When you create a Volatile Table you don't need the WITH DATA.
And when you want to use CREATE VOLATILE TABLE AS you need to specify the right order:
WITH DATA PRIMARY INDEX () ON COMMIT PRESERVE ROWS
Dieter
The default for COMMIT is DELETE ROWS which happens when the Inserts is commited :-)
When you create a Volatile Table you don't need the WITH DATA.
And when you want to use CREATE VOLATILE TABLE AS you need to specify the right order:
WITH DATA PRIMARY INDEX () ON COMMIT PRESERVE ROWS
Dieter