Funcion SIMILAR

29/06/2004 - 16:33 por David R. | Informe spam
Buenas a todos,

Creo que hay o habia una funcion:

SIMILAR(string-expression-1,string-expression-2)

Que devolvia el valor de coincidencia entre dos textos en
porcentaje.

SELECT SIMILAR('toast','coast')
esta devolveria 75% similar.

Pero SQL Server 2000 Enterprice Edition no me la reconoce.

Estoy inventandome esta funcion?? o realmente existia y
ahora hay otra forma de sacar el porcentaje de similitud
entre dos textos??

DIFFERENCE y SOUNDEX no me devuelven el %.

Gracias de antemano!

Preguntas similare

Leer las respuestas

#1 Gustavo Larriera [MVP SQL]
29/06/2004 - 17:14 | Informe spam
La funcion DIFFERENCE te responde un integer de 0 a 4 (4 = best match).
Aunque no responde un porcentaje, puedes ponderar el valor obtenido.

Gustavo Larriera, MVP-SQL, MCSE
Uruguay LatAm
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"David R." wrote in message
news:2311f01c45de6$015fe6e0$
Mostrar la cita
#2 David R.
29/06/2004 - 17:41 | Informe spam
La verdad que bien mirado.. tambien me vale y me complico
menos.

Gracias!


Mostrar la cita
= best match).
Mostrar la cita
valor obtenido.
Mostrar la cita
no otorga ningun
Mostrar la cita
warranties, and confers
Mostrar la cita
en
Mostrar la cita
reconoce.
Mostrar la cita
Ads by Google
Search Busqueda sugerida