SQL - 确定列中最常出现的单词
是否有一种简单的方法可以使用 T-SQL 或 VBA 确定列/字段中最常出现的单词?
我正在为两个给定的记录集开发一个模糊匹配系统,并希望生成一个匹配字符串,其中删除最常出现的单词。由于数据来自客户关系管理数据库,因此将删除“limited”、“ltd”、“plc”和“CORPORATION”等术语。
Is there an easy way of determining the most frequently occuring word in a column/field using T-SQL or VBA?
I am working on a fuzzy matching system for two given recordsets and would like to produce a matching string where the most frequently occuring words are removed. As the data is from a customer relations management database terms like "limited", "ltd", "plc" and "CORPORATION" would be removed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为 sql-server 2005+ 编写
分割函数:
查询:
结果:
Written for sql-server 2005+
Function to split:
Query:
Result:
希望这对您有用。
Hope this will be useful to you.