sqlserver中alter的簡單方法

alter table test alter column aaa int--修改字段類型
alter table test add ccc varchar(50)--添加列
alter table test drop column ccc--刪除列table

EXEC sp_rename "test.aaa","abc","COLUMN" --修改字段名稱test

相關文章
相關標籤/搜索