Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Creation of Volatile table - response (3) by teraforsk

$
0
0

As long as your default database is your username, you can just create a volatile table straight-off without using any db qualifications. Here is how you change your default database to your username and create a volatile table.

MODIFY USER <USERNAME> AS 

DEFAULT DATABASE = <USERNAME>;


CREATE VOLATILE TABLE <TABLENAME>

(COLUMNS....

)

ON COMMIT PRESERVE ROWS;

This genertally helps during your batch process.
Hope that helps.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>