数据仓库服务 GaussDB(DWS)-插入数据报错:null value in column '%s' violates not-null constraint:问题现象
时间:2025-02-12 15:02:21
问题现象
向表中插入数据报错:null value in column '%s' violates not-null constraint,此处s%指报错的列(字段)名。
1234 |
CREATE TABLE t1(a int, b int not null);INSERT INTO t1 VALUES (1);ERROR: dn_6001_6002: null value in column "b" violates not-null constraint |
support.huaweicloud.com/trouble-dws/dws_09_0207.html