Hi,
I want some help using CASE in the select statement.
select
ISgroup =
CASE p.GroupId
WHEN NULL THEN "NO"
ELSE "YES"
END
from POHead p
In this SQL statement I don't get the desired results.
The SQL does not work for NULL values in the GroupId field.
Anybody has a solution for this.
Regards,
Mukund.
I want some help using CASE in the select statement.
select
ISgroup =
CASE p.GroupId
WHEN NULL THEN "NO"
ELSE "YES"
END
from POHead p
In this SQL statement I don't get the desired results.
The SQL does not work for NULL values in the GroupId field.
Anybody has a solution for this.
Regards,
Mukund.