标签: sql-server sql-server-2000
如何删除表中的特定列?
答案 0 :(得分:4)
CREATE TABLE dbo.MyTable (column_a INT, column_b VARCHAR(20) NULL); GO ALTER TABLE dbo.MyTable DROP COLUMN column_b; GO EXEC sp_help MyTable; GO DROP TABLE dbo.MyTable; GO