对于integer类型数据,当ora_input_emptystr_isnull=off时,’’ 对于insert 或 select 都会因为类型转换问题报错。
test=# show ora_input_emptystr_isnull; ora_input_emptystr_isnull --------------------------- on (1 行记录) test=# select length(''),length(null); length | length --------+-------- | (1 行记录) test=# set ora_input_emptystr_isnull to off; SET test=# select length(''),length(null); length | length --------+-------- 0 | (1 行记录) test=#