Everything you need to know about backup and disaster recovery with AWS, for FREE!
This selects the data from the tblEquipment correctly and creates two new columns 'Ok1' and 'Ok2'
SELECT (SELECT Ok1 = case Latitude when '-' then '0' when '' then '0' else '1' end) as Ok1, (SELECT Ok2 = case Longitude when '-' then '0' when '' then '0' else '1' end) as Ok2 FROM tblEquipment
WHERE Ok1='1' AND Ok2='1'
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.