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

Command Help : Alter table modify column - response (4) by dnoeth

$
0
0
@KS42982: Why use a temp table and drop it Create a new table with the required definition, insert/select and the rename the tables: create newtab (...); ins newtab sel * from oldtab; collect stats on newtab from oldtab; -- only for those columns where the datatype didn't change drop table oldtab; rename newtab to oldtab; Dieter  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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