Can anyone tell me why this will not work?
select *,CASE WHEN postcode ilike '%OO%' THEN '' ENDfrom addresseswhere studentid=1234and addresstype='C'
There are postcodes like this: OO00 0OO
RegardsGarry