in an sql database I need a script that will select all the rows that has no null value something like this:
For all the rows in the database
if row has no null values
select it
Columns are dynamic, I cannot know their number or names
Thanks you
This is the opposite of this question Test if any fields are NULL.
The answer by Martin Smith modified to find rows without null values would look like this.
And the answer provided by Aaron Bertrand modified would be…