Is there any way to count all fields with null values for specific record excluding PrimaryKey column?
Example:
ID Name Age City Zip
1 Alex 32 Miami NULL
2 NULL 24 NULL NULL
As output I need to get 1 and 3. Without explicitly specifying column names.
Result:
Update:
Here is a better version. Thanks to Martin Smith.
Update:
And with a bit faster XQuery expression.