I have a query that consists of nullable parameter. If input parameter is null, then it should select all value.
Previously it was working with Oracle 18c. But now it doesn't work with oracle 19c.
It doesn't work if data in the table is null
Any idea why or how ?
SELECT NAME, SURNAME FROM MY_TABLE WHERE NAME = NVL(?,NAME);
I tried this one and results is the same
SELECT NAME, SURNAME FROM MY_TABLE WHERE NAME = NAME;