
如何设置字段是否为空:空,默认值:0
1个回答
展开全部
在创建表的时候,例如:
create table tbl_haha
(
iid int not null,
age int null default(0)
)
age字段就是你的要求了:是否为空:空,默认值:0
这样就可以了。
create table tbl_haha
(
iid int not null,
age int null default(0)
)
age字段就是你的要求了:是否为空:空,默认值:0
这样就可以了。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |