Answer the question
In order to leave comments, you need to log in
How to correctly write a comparison condition in a query?
Hello.
I need to get data by condition. The field must equal the specified variable.
The problem is that the field can be null. Even if you assign null to the variable, the query does not work.
select house_id
into l_house_id
from houses_all
where houses_all.corp = l_corp
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question