discuss.opengauss.org/t/topic/107

Preview meta tags from the discuss.opengauss.org website.

Linked Hostnames

3

Thumbnail

Search Engine Appearance

Google

https://discuss.opengauss.org/t/topic/107

求助帖 Gauss 固定SQL 语句 出现 主键不为空问题

假设表是 id(数值型) name age INSERT INTO (name,age) values (“张三”,“18”) # id自增 INSERT INTO (id,name,age) value (default,“张三”,…



Bing

求助帖 Gauss 固定SQL 语句 出现 主键不为空问题

https://discuss.opengauss.org/t/topic/107

假设表是 id(数值型) name age INSERT INTO (name,age) values (“张三”,“18”) # id自增 INSERT INTO (id,name,age) value (default,“张三”,…



DuckDuckGo

https://discuss.opengauss.org/t/topic/107

求助帖 Gauss 固定SQL 语句 出现 主键不为空问题

假设表是 id(数值型) name age INSERT INTO (name,age) values (“张三”,“18”) # id自增 INSERT INTO (id,name,age) value (default,“张三”,…

  • General Meta Tags

    9
    • title
      求助帖 Gauss 固定SQL 语句 出现 主键不为空问题 - 问题求助 - openGauss 论坛
    • charset
      utf-8
    • description
      假设表是 id(数值型) name age INSERT INTO (name,age) values (“张三”,“18”) # id自增 INSERT INTO (id,name,age) value (default,“张三”,…
    • generator
      Discourse 3.5.0.beta7 - https://github.com/discourse/discourse version fd2f543a08dbd1468ccc76163eedb60bbbde39bf
    • theme-color
      #ffffff
  • Open Graph Meta Tags

    9
    • og:site_name
      openGauss 论坛
    • og:type
      website
    • og:image
      https://discuss.opengauss.org/uploads/default/original/1X/c8f3a06c5c7e87d35e5b7d015039f33f0e334090.png
    • og:url
      https://discuss.opengauss.org/t/topic/107
    • og:title
      求助帖 Gauss 固定SQL 语句 出现 主键不为空问题
  • Twitter Meta Tags

    5
    • twitter:card
      summary
    • twitter:image
      https://discuss.opengauss.org/uploads/default/original/1X/c8f3a06c5c7e87d35e5b7d015039f33f0e334090.png
    • twitter:url
      https://discuss.opengauss.org/t/topic/107
    • twitter:title
      求助帖 Gauss 固定SQL 语句 出现 主键不为空问题
    • twitter:description
      假设表是 id(数值型) name age INSERT INTO (name,age) values (“张三”,“18”) # id自增 INSERT INTO (id,name,age) value (default,“张三”,“18”) # 触发id的默认值配置 (如果配置了序列,就会从序列里面取值) INSERT INTO (id,name,age) value (null,“张三”,“18”) # 报错 id不能为空 有没有一种方法 可以让第三种情况正常触发自增? 有了解到触发器可以解决 但是关于触发气的语法不太会用 有大佬可以交流一下吗
  • Item Prop Meta Tags

    19
    • position
      1
    • headline
      求助帖 Gauss 固定SQL 语句 出现 主键不为空问题
    • datePublished
      2025-06-27T08:51:00Z
    • articleSection
      问题求助
    • keywords
  • Link Tags

    36
    • alternate nofollow
      https://discuss.opengauss.org/t/topic/107.rss
    • apple-touch-icon
      https://discuss.opengauss.org/uploads/default/optimized/1X/c8f3a06c5c7e87d35e5b7d015039f33f0e334090_2_180x180.png
    • canonical
      https://discuss.opengauss.org/t/topic/107
    • icon
      https://discuss.opengauss.org/uploads/default/optimized/1X/ddd7dad20a6ccf7c3d9bf3ca1e11f2164b7bfc73_2_32x32.png
    • search
      https://discuss.opengauss.org/opensearch.xml

Links

16