CHIL-ORACLE-创建默认约束

1.默认约束 ( default )

2.默认值语法:

    default --默认约束(日期字段:DEFAULT SYSDATE 这样每次插入和修改时, 不用程序操作这个字段都能得到动作的时间)
    not null --非空非空约束
    unique --唯一约束
    primary key --主键(关键字)
    check --检查约束
    references --外键约束 
原文地址:https://www.cnblogs.com/ChineseIntelligentLanguage/p/6513286.html