ORA-28331: encrypted column size too long for its data type
Cause: column was encrypted and for VARCHAR2, the length specified was > 3932; for CHAR, the length specified was > 1932; for NVARCHAR2, the length specified was > 1966; for NCHAR, the length specified was > 966;
Action: Reduce the column size.
ORA-28331: encrypted column size too long for its data type错误是由于尝试将一个长度超过它所分配数据类型的加密列插入表中导致的。
1.确定出现此情况的加密列,并检查所使用的数据类型及其大小。
2.确保它们与此加密列的实际大小相匹配。
3.然后,停止重新启动数据库,再次尝试在表中插入该加密列。