Hi all,Do you have an idea why Exists() doesn’t work here? It seems to only work in an IF condition.
Kind regards,
@haritha.waidyaratne What is the result produced by the method call?
I suspect it might trigger a "Too Many Rows" exception rather than returning a value of True or False. Please check !
Hi Buddhika,Sure will check it in detail and get back to you.Thanks many for the suggestion.Kind regards,Haritha
Hi @haritha.waidyaratne
Oracle doesn’t have the support for BOOLEAN in comparison rules. Exists returns a Boolean and therefore you cannot use it in a condition expression.
Check here for more details
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Data-Type-Comparison-Rules.html
Hope it helps.
Damith
Hi,If you explain in detail the query you want to make, I can help you in a different format.
Hi Alpenen,Thanks for offering to help. I have already accomplished the task. My question was why Exists() doesn’t work as expected.Kind regards,
Ask the community for help!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.