1
I have a question about the LIKE
of T-SQL.
Is it possible to restrict by a number of equal characters to check how many addresses start equal and can end different?
Sort of like this:
Where Endereco LIKE '[array10caracteres]%'
My goal is to arrive at a result more or less where a person’s address is:
Rua Comandante Inhares N 10
Rua Comandante Linhares LT 8 QD 150
The idea is that these two come up with a count or something
There are algorithms that compare string like Jaro-Winkler Distance (among others) I used once in Oracle and it worked well , but these comparisons are relative in case you look for addresses on the same street independent of the add-on (search for neighbors) ?
– Motta
Yes... I seek neighbors and people from the same street.
– Lucas Vasconcelos
The Jaro of Oracle returns a value of 93 for these two addresses, changing the address to "STREET COMMANDER KIRK LT 8 QD 150" gets 88 , question of maybe refine.
– Motta