I have just been given the task of learning SQL server at work. I can manage the basics, and I do have a standalone dedupe prog, but tat is pretty slow.
If I have data like this
1. Mr / Smith / 1 Park Road / ME4 2TL / 1 ParkME4 2TL
2. Mr / Brown / 2 Park Road / ME4 2TL / 2 ParkME4 2TL
3. Mrs/ Brown / 2 Park Road / ME4 2TL / 2 ParkME4 2TL
That is a title, surname, address, postcode and a field made of 6 characters of address and the postcode.
I want to be able to dedupe on the final field, so that only one instance of '2 ParkME4 2TL' is left over. It matters not, which instance is deleted, or remains.
I have seen lots of talk of removing duplicates online but it seems to all be about removing a whole duplicated row, or something that would remove both '2 ParkME4 2TL' instances.
Thanks very much :o)
If I have data like this
1. Mr / Smith / 1 Park Road / ME4 2TL / 1 ParkME4 2TL
2. Mr / Brown / 2 Park Road / ME4 2TL / 2 ParkME4 2TL
3. Mrs/ Brown / 2 Park Road / ME4 2TL / 2 ParkME4 2TL
That is a title, surname, address, postcode and a field made of 6 characters of address and the postcode.
I want to be able to dedupe on the final field, so that only one instance of '2 ParkME4 2TL' is left over. It matters not, which instance is deleted, or remains.
I have seen lots of talk of removing duplicates online but it seems to all be about removing a whole duplicated row, or something that would remove both '2 ParkME4 2TL' instances.
Thanks very much :o)
Comment