差函数 [英] Difference Function

查看:284
本文介绍了差函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白如何得到以下结果的4的结果:

I don't understand how I could get a result of 4 for difference on the following:

          col_a               col_b
201 E. Rudisill       2535 E 10th St.
6039 Bunt Drive     408 W. Petit Ave.

difference(upper(a),upper(b))两行都返回4。

如何这可能吗?它们听起来没有什么相似之处?

How is this possible? They do not sound anything alike?

推荐答案

SOUNDEX将字母数字字符串转换为基于字符串的方式的四字符代码说话时会发出声音。可能是上述字符串以soundex()返回 0000的数字开头。

SOUNDEX converts an alphanumeric string to a four-character code that is based on how the string sounds when spoken. May be the above string starts with numbers the soundex() return '0000'.

类似的问题以数字作为String参数的Soundex

这篇关于差函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆