powerdesigner 设置默认值,设置不为空约束
1、powerdesigner 设置默认值。
用工具打开表,找到Columns,然后选中你要修改的字段值,点属性。
找到Standard Checks,default选择即可。如下图:
2、设置不为空约束等。
如下图:
在Column Properties对话框中勾选“mandatory”就是not null。
写SQL,(MSSQL) -加字段,设约束
alter table teacher add sex int not null default 0;
博主强烈推荐:https://blog.csdn.net/persistencegoing/article/details/84376427
希望大家关注我一波,防止以后迷路,有需要的可以加群讨论互相学习java ,学习路线探讨,经验分享与java求职
群号:721 515 304