I have a dynamic SQL query with different column names and tables at runtime.
I am looking to get the SQL query to ignore reading data based on if a row contains Null value in any cell.
SELECT rsv_intension_rsvt
FROM resolve_table_kb
where rsv_intension_rsvt is not null;
I am aware of using IS NOT NULL
.
But the problem is that I wouldn't know the query syntax (i.e. columns name so that IS NOT NULL
can be used).
Is there a dynamic solution that can be used for the SQL query to read/collect rows only when all cells in a selected row are NOT NULL.
Thanks