ora-00920错.where 后是否可以直接带函数么

2025-05-15 23:09:15
推荐回答(2个)
回答1:

where BL20130401342 后面没有了?

应该是

WHERE 列名 = 数据的吧。

例如:
SQL> select * from test_main where id;
select * from test_main where id
*
ERROR 位于第 1 行:
ORA-00920: 无效的关系运算符

SQL> select * from test_main where id = 1;
未选定行

回答2:

能把代码贴出来吗
?