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

volatile table as select..with data - not loading data - response (9) by td_2020

$
0
0

Hi paulxia39,breidy
As above they said,We always  put  'ON COMMIT PRESERVE ROWS' like below syntax
So we can save vt_tmp  data rows for further usage.
CREATE MULTISET VOLATILE TABLE vt_tmp
AS ( SELECT t1.COLA
, t1.COLB
FROM TABLE_1 t1
INNER JOIN TABLE_2 t2
ON t1.COLA = t2.COLAA
)
WITH DATA NO PRIMARY INDEX
ON COMMIT PRESERVE ROWS;


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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