How can I use trim, or another function, to remove a space in the middle of a column that I am trying to join 2 tables on?
Ex:
....from Stage.FactTravelIBank ft
join Dim.Mileage m
on m.market = ft.itinerary
where table m has market abcdef and ft has itinerary abc def
I've only been able to find examples where trim is used with spaced at the beginning or end, or is trimming a character.