【发布时间】:2018-11-07 02:55:53
【问题描述】:
我在 varchar2(800) 列中有一些我无法更改的数据,这些数据在 SQL Developer 中显示为 null 并从那里导出为 null,但不是 null。
这是我尝试过的:
-
length(mycol)返回3 -
asciistr(mycol)返回null -
substr(mycol, 1, 1)返回null(其他位置返回普通字母) -
ascii(substr(mycol, 1, 1))返回180,这是一个acute accent
我想不选择将使用null 值导出的行。
我该怎么做?
我尝试了asciistr(mycol) is not null,但这也会过滤掉带有重音字符且不会导出为null 的文本。我想导出重音字符,但不是在将整列导出为 null 时。
mycol is not null 和 to_char(mycol) is not null 无效。
显然,我需要一个解决方案,该解决方案适用于字段中任何位置的任何长度的输入和字符怪异。
【问题讨论】:
标签: null export oracle12c varchar2