13 May 2018        Add to Favorites   Report

Drop a column from a table in Teradata

To remove a column from a teradata table:


ALTER TABLE table_name DROP column_name;


ALTER TABLE db.emp DROP Salary;


  • You cannot drop all of the columns from a table.
  • When you drop a column, Teradata Database deletes the field corresponding to the dropped column in every row in the table.
  • You cannot drop indexed columns from a table without first dropping the index on those columns

Read great educational content like this and a lot more ! Create my free account now 🎁