create table t(id int,v int ) go alter table t ADD DEFAULT 0 FOR v go 转载于:https://www.cnblogs.com/railgunman/p/8997420.html