INF: ALTER TABLE with ADD COLUMN and DEFAULT May Take a Long Time on a Large Data Set (266694)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q266694 SUMMARY
An ALTER TABLE ADD COLUMN statement with a NOT NULL property and a specified default value might take a long time to complete. For example:
ALTER TABLE Test ADD TestColumn INT NOT NULL DEFAULT -1
Modification Type: | Major | Last Reviewed: | 10/31/2003 |
---|
Keywords: | kbinfo KB266694 |
---|
|