我正在使用以下查询在 oracle sql developer 中创建一个 oracle 视图,
select * from (SELECT DATEENTER as PI_TIMESTAMP,PI_TAG as PI_TAGNAME,
case when LENGTH(TRIM(TRANSLATE(final, ' +-.0123456789', ' '))) is null then cast(final as number) else null end as PI_VALUE,
STATUS AS PI_STATUS
FROM T2) a
where PI_VALUE is not null
该查询在查询窗口中运行良好,但是它给了我错误Error(s) parsing SQL: Unexpected token at 134 near )。在 136 附近的意外令牌是。 当我尝试将其创建为视图时
谢谢