Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
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.