开发者社区 问答 正文

What is a constraint in SQL?

已解决

What is a constraint in SQL?

展开
收起
1780169608831412 2021-10-02 21:52:40 572 分享 版权
1 条回答
写回答
取消 提交回答
  • 网络规划设计师、敏捷专家、CISP、ITSS服务经理、ACA全科目、ACP4项、ACE、CBP、CDSP、CZTP等。拥有 PRINCE2 Foundation/Practitioner、CCSK、ITIL、ISO27001、PMP等多项国际认证。 专利5+、期刊10+、知识产权师。核心期刊审稿人。
    采纳回答

    Hi, Constraint can be used to specify the limit on the data type of table. Constraint can be specified while creating or altering the table statement. Sample of constraint are.

    NOT NULL.
    CHECK.
    DEFAULT.
    UNIQUE.
    PRIMARY KEY.
    FOREIGN KEY.
    
    2021-10-02 21:59:43
    赞同 展开评论
问答分类:
SQL
问答地址: