网上摘抄,备份使用:
修改字段名:下例将表 customers 中的列 contact title 重命名为 title。EXEC sp_rename 'customers.[contact title]', 'title', 'COLUMN'
修改字段属性:alter table tab_info alter column thisname varchar(200) not null;修改默认值alter table tabinfo add constraint df default('嘿嘿') for thisname;原文出处:希望对你有所帮助!^_^