INF: Dynamically Altering Table Definitions in SQL Server (64176)
The information in this article applies to:
- Microsoft SQL Server 4.2x
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
- Microsoft SQL Server 7.0
This article was previously published under Q64176 SUMMARY
In SQL Server versions 7.0 and later, the Transact-SQL ALTER TABLE command allows you to modify a table definition by altering, adding or dropping columns and constraints, or by disabling or enabling constraints and triggers. However, in SQL Server versions prior to 7.0, you cannot change the length
or data type of an existing column or delete a column. This article explains how these additional changes can be made.
Modification Type: | Minor | Last Reviewed: | 2/14/2005 |
---|
Keywords: | kbProgramming KB64176 |
---|
|