【问题标题】:Why does constraint Folder does not show Primary Key as a constraint, however it does show another Constraint declared in the Table为什么约束文件夹没有将主键显示为约束,但是它确实显示了表中声明的另一个约束
【发布时间】:2022-06-15 21:49:13
【问题描述】:

在创建表时,如果我对列使用 NOT null 作为约束,为什么它不会反映在约束表中。

【问题讨论】:

  • 你需要声明主键约束,NOT NULL是另一个约束
  • 实际上Constraint 文件夹应该显示所有已在表中创建的Constraint。即使我创建主键约束,它也不会显示在约束文件夹中。

标签: sql


猜你喜欢
  • 2018-05-31
  • 1970-01-01
  • 2010-12-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-04-29
  • 2015-11-29
相关资源
最近更新 更多