Deleting/Expanding a Column

Deleting/Expanding a Column

What is the proper method(s) to delete a column from a table or expand the size of a column in a table?

Adding is easy. Deleting and changing obviously is more complex.

If you know how to add them then you are on the way to deleting and changing them:

alter table xadd [column name] [data type] alter table xdrop [column name]alter table xalter column [column name][new data type]

However, be aware that these examples only apply for SQL 7. Version 6.5 only allows you to add a column.


Share the Post: