Skip to content

Optimizing subquery in sql [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question Given the following SQL query Recently this query has been taking longer t…

PL/SQL: Function returned without value

I wrote below FUNCTION to check given data is exist. It is working before but when i add new data on table named iqa_department it suddenly after triggering the function returns me with that error, im kinda new in oracle fom mysql to oracle Here’s how i call it. error i’m getting Answer try this: