Have a 5 columns of address data. I need to concatenate these fields into a single address with spaces in between the values if they exist. If the column has a null value
Something along the lines of:
select coalesce(street_number+' ','')+ coalesce(case when street_ext=50 then '1/2' else null end+' ','')+ coalesce(street_direct+' ','')+ coalesce(site_street+' ','')+ coalesce(site_address,'') from parcel