.NET经验心得探讨社区  
请在这里用键盘敲打出属于你的地位!
alter table 表 drop  constraint 约束名
GO
alter table 表 alter column 字段 char(30)not null
GO
alter table 表 add constraint 约束名 primary key(字段)
GO
posted on 2006-05-31 11:24  苦涩的咖啡  阅读(2996)  评论(0编辑  收藏  举报