- 错误码参考
- SQL标准错误码说明
- 第三方库错误码说明
- GAUSS-00001 -- GAUSS-00100
- GAUSS-00101 -- GAUSS-00200
- GAUSS-00201 -- GAUSS-00300
- GAUSS-00301 -- GAUSS-00400
- GAUSS-00401 -- GAUSS-00500
- GAUSS-00501 -- GAUSS-00600
- GAUSS-00601 -- GAUSS-00700
- GAUSS-00701 -- GAUSS-00800
- GAUSS-00801 -- GAUSS-00900
- GAUSS-00901 -- GAUSS-01000
- GAUSS-01001 -- GAUSS-01100
- GAUSS-01101 -- GAUSS-01200
- GAUSS-01201 -- GAUSS-01300
- GAUSS-01301 -- GAUSS-01400
- GAUSS-01401 -- GAUSS-01500
- GAUSS-01501 -- GAUSS-01600
- GAUSS-01601 -- GAUSS-01700
- GAUSS-01701 -- GAUSS-01800
- GAUSS-01801 -- GAUSS-01900
- GAUSS-01901 -- GAUSS-02000
- GAUSS-02001 -- GAUSS-02100
- GAUSS-02101 -- GAUSS-02200
- GAUSS-02201 -- GAUSS-02300
- GAUSS-02301 -- GAUSS-02400
- GAUSS-02401 -- GAUSS-02500
- GAUSS-02501 -- GAUSS-02600
- GAUSS-02601 -- GAUSS-02700
- GAUSS-02701 -- GAUSS-02800
- GAUSS-02801 -- GAUSS-02900
- GAUSS-02901 -- GAUSS-03000
- GAUSS-03001 -- GAUSS-03100
- GAUSS-03101 -- GAUSS-03200
- GAUSS-03201 -- GAUSS-03300
- GAUSS-03301 -- GAUSS-03400
- GAUSS-03401 -- GAUSS-03500
- GAUSS-03501 -- GAUSS-03600
- GAUSS-03601 -- GAUSS-03700
- GAUSS-03701 -- GAUSS-03800
- GAUSS-03801 -- GAUSS-03900
- GAUSS-03901 -- GAUSS-04000
- GAUSS-04001 -- GAUSS-04100
- GAUSS-04101 -- GAUSS-04200
- GAUSS-04201 -- GAUSS-04300
- GAUSS-04301 -- GAUSS-04400
- GAUSS-04401 -- GAUSS-04500
- GAUSS-04501 -- GAUSS-04600
- GAUSS-04601 -- GAUSS-04700
- GAUSS-04701 -- GAUSS-04800
- GAUSS-04901 -- GAUSS-04999
- GAUSS-05101 -- GAUSS-05200
- GAUSS-05801 -- GAUSS-05900
- GAUSS-05901 -- GAUSS-05999
- GAUSS-06101 -- GAUSS-06200
- GAUSS-50000 -- GAUSS-50999
- GAUSS-51000 -- GAUSS-51999
- GAUSS-52000 -- GAUSS-52999
- GAUSS-53000 -- GAUSS-53999
GAUSS-00721 -- GAUSS-00730
链接复制成功!
GAUSS-00721: "column '%s' contains null values"
SQLSTATE: 23502
错误原因:不允许为空的列中包含空值。
解决办法:检查是否存在非空约束的冲突。
GAUSS-00722: "check constraint '%s' is violated by some row"
SQLSTATE: 23514
错误原因:一些行违反了check约束。
解决办法:检查是否存在check约束冲突。
GAUSS-00723: "cannot alter type '%s' because column '%s.%s' uses it"
SQLSTATE: 0A000
错误原因:列类型不允许修改,因为有其它列依赖。
解决办法:确认是否存在列的依赖,如果是,需要删除对应对象后进行列类型修改。
GAUSS-00724: "cannot alter foreign table '%s' because column '%s.%s' uses its row type"
SQLSTATE: 0A000
错误原因:修改外部表失败,有列正在使用它的行类型。
解决办法:确认是否存在列的依赖,如果是,需要删除对应对象后进行表修改。
GAUSS-00725: "cannot alter table '%s' because column '%s.%s' uses its row type"
SQLSTATE: 0A000
错误原因:修改表失败,有列正在使用它的行类型。
解决办法:确认是否存在列的依赖,如果是,需要删除对应对象后进行表修改。
GAUSS-00726: "cannot alter type '%s' because it is the type of a typed table"
SQLSTATE: 2BP01
错误原因:修改类型失败,它是一个type表的类型。
解决办法:使用ALTER ... CASCADE同时修改type表。
GAUSS-00727: "type %s is not a composite type"
SQLSTATE: 42809
错误原因:CREATE TABLE OF/ALTER TABLE OF的类型不是复合类型。
解决办法:使用复合类型重试。
GAUSS-00728: "cannot add column to typed table"
SQLSTATE: 42809
错误原因:为类型表增加列。
解决办法:不允许为类型表增加列。
GAUSS-00729: "type '%s' is not supported in column store"
SQLSTATE: 0A000
错误原因:列式存储不支持此字段类型。
解决办法:请选择合适字段类型,再次执行操作。
GAUSS-00730: "default value cannot reference to a column"
SQLSTATE: 42809
错误原因:默认值不能用于一个列。
解决办法:检查默认值是否包含在双引号里面。
