Hi,
select case when division_no is null then 'no division' else 'withdivision' end from employee;
Is the right syntax
Regards--Matteo Beccatihttp://www.phpadsnew.comhttp://phppgads.sourceforge.net