MSSQL给字段添加默认值

create table t(id int,v int )

go

alter table t ADD DEFAULT 0 FOR v

go

posted @ 2018-05-06 10:19  覆雨翻云  阅读(3776)  评论(0编辑  收藏  举报