Function returning boolean fails on “expression is of wrong type”

前端 未结 3 1671
离开以前
离开以前 2021-01-11 10:35

I am using oracle 11g and I just cant under stand where my problem is. I have made much more difficult stuff but I fail in this simple thing for the last 5 hr :

Thi

3条回答
  •  自闭症患者
    2021-01-11 10:50

    Your function returns a boolean. This datatype is known to PL/SQL, but you are using a SQL query. SQL doesn't know how to handle booleans and says "expression is of wrong type".

    Regards,
    Rob.

提交回复
热议问题