【转】sql server 重命名表字段

sql server 重命名表字段

用sp_rename系统存储过程  重命名列  下例将表   customers   中的列   contact   title   重命名为   title。

EXEC   sp_rename   'customers.[contact   title] ',   'title ',   'COLUMN '

posted @ 2012-05-25 20:18  何解一直犯相同错误?  阅读(238)  评论(0编辑  收藏  举报