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

Command Help : Alter table modify column - response (3) by KS42982

$
0
0
As you need to rename so many columns, I'd suggest, you create a new table with desired datatypes, copy all the data from the existing table to this new table by casting to varchar, drop the existing table and re-create with new datatypes and insert the records from the temp table to this newly create table and finally drop the temp table. It would be a much cleaner and safer approach for such kind of operations.

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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