Link to home
Start Free TrialLog in
Avatar of Charles Baldo
Charles BaldoFlag for United States of America

asked on

Display literal if field exists

Hi

I have a sql statement

select HouseNumber, Street, apartment,  HouseNumber+' '+Street='  '+apartment  as FullAddress from streetable

I want to be able to display the word ' Apartment ' in they have an apartment else just display the housenumer and street

thanks chuck
ASKER CERTIFIED SOLUTION
Avatar of jgv
jgv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Charles Baldo

ASKER

Perfect, Thansk for the quick response