S
swngdncr
Hello, I have a table that was imported from our GIS system that lists
all of the intersections in our city. However, every intersection is
listed twice, once where StName1 is X and StName2 is Y, then again in
reverse, StName1 is Y and StName2 is X. I need to delete the
duplicates, so that an intersection is only listed once. I'm sort of
stumped on this one, I'm thinking some kind of loop statement that
says if StName1 = StName2 AND StName2=StName1 then delete the one that
meets some criteria (possibly the one with lowest ObjectID). (BTW,
all the street names are exact, there is no problem with Street A
being called St. A etc.). Thanks in advance for your assistance.
all of the intersections in our city. However, every intersection is
listed twice, once where StName1 is X and StName2 is Y, then again in
reverse, StName1 is Y and StName2 is X. I need to delete the
duplicates, so that an intersection is only listed once. I'm sort of
stumped on this one, I'm thinking some kind of loop statement that
says if StName1 = StName2 AND StName2=StName1 then delete the one that
meets some criteria (possibly the one with lowest ObjectID). (BTW,
all the street names are exact, there is no problem with Street A
being called St. A etc.). Thanks in advance for your assistance.