Hi,
Is there any way to select the minimum value in a set of columns in a single row.
eg. I have a table with 6 numeric fields, some of which may be null, and I want to find the lowest number in these fields for each row... I can find the first number by using COALESCE but not the lowest
Any ideas?
Thanks
Hope this helps,
Phil Clare
Is there any way to select the minimum value in a set of columns in a single row.
eg. I have a table with 6 numeric fields, some of which may be null, and I want to find the lowest number in these fields for each row... I can find the first number by using COALESCE but not the lowest
Any ideas?
Thanks
Hope this helps,
Phil Clare