Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Will volatile tables be dropped? - response (15) by Adeel Chaudhry

$
0
0

We had an implementation where VTs were being created in dynamic-SQL .... and after some update patch installation same SPs running for months started to fail. On investigation we had to do following to make it work again:
 
DECLARE MyUser VARCHAR(30);
SELECT TRIM(USER) INTO MyUser;
CALL DBC.SysExecSQL('CREATE volatile table ' || MyUser || '.TableName1(Col1 BIGINT ) ON COMMIT PRESERVE ROWS;');
 
Try creating via Dynamic SQL.
HTH!


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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