This should give you an idea, if I understood your question correctly:declare @t table (lat_1 int, long_1 int, lat_2 int, long_2 int, Source varchar(20))insert @t (lat_1, long_1, lat_2, long_2, Source)select 32, -117, 33, -117, 'Parcel' unionselect 32, -118, 33, -117, 'Street_line'select lat_3 = case Source when 'Parcel' then lat_1 when 'Street_line' then lat_2 end,long_3 = case Source when 'Parcel' then long_1 when 'Street_line' then long_2 endfrom @t
Some days you're the dog, and some days you're the fire hydrant.