I need to put together a method that would allow me to quantify how many fields in a row have been filled by a user.
For example:
User Name Age
select
User,
(
case Name when '' then 0 else 1 end
+
case when Age is null then 0 else 1 end
+
case Country when '' then 0 else 1 end
+
case Gender when '' then 0 else 1 end
+
case when Height is null then 0 else 1 end
) * 100 / 5 as complete
Use the case according to what no info means: empty or null.