Oracle 字符串相似度查询
Oracle函数: SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY(str,patternStr)
--Oracle查询字符串相似度函数 SELECT DISTINCT e.EQP_GROUP,SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY(e.EQP_GROUP,'LARF') xsd FROM IMP_AREA_EQPGROUP_MAPPING e ORDER BY XSD DESC
查询结果:
Oracle函数: SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY(str,patternStr)
--Oracle查询字符串相似度函数 SELECT DISTINCT e.EQP_GROUP,SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY(e.EQP_GROUP,'LARF') xsd FROM IMP_AREA_EQPGROUP_MAPPING e ORDER BY XSD DESC
查询结果: