文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 28 个 INFORMATION_SCHEMA 表 / 28.3 INFORMATION_SCHEMA 总表 / 28.3.5 INFORMATION_SCHEMA CHECK_CONSTRAINTS 表
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 91%

28.3.5 INFORMATION_SCHEMA CHECK_CONSTRAINTS 表28.3.5 The INFORMATION_SCHEMA CHECK_CONSTRAINTS Table

CREATE TABLE 支持表和列 CHECK 约束的核心功能;CHECK_CONSTRAINTS 表提供有关这些约束的信息。CREATE TABLE supports the core features of table and column CHECK constraints; the CHECK_CONSTRAINTS table provides information about these constraints.

CHECK_CONSTRAINTS 表具有以下列:The CHECK_CONSTRAINTS table has these columns:

  • CONSTRAINT_CATALOGCONSTRAINT_CATALOG

    约束所属的目录名称。该值始终为 def。The name of the catalog to which the constraint belongs. This value is always def.

  • CONSTRAINT_SCHEMACONSTRAINT_SCHEMA

    约束所属的模式(数据库)名称。The name of the schema (database) to which the constraint belongs.

  • CONSTRAINT_NAMECONSTRAINT_NAME

    约束的名称。The name of the constraint.

  • CHECK_CLAUSE

    指定约束条件的表达式。The expression that specifies the constraint condition.