Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
也许我在做白日梦,但我即将合并两个代表相同数据的两个公司版本的大表的内容。我想避免重复(DB 1 中“title”字段的条目与 DB 2 中的“title”几乎相同。php 或 mysql 中是否有任何方法可以关闭字符串匹配并返回相关因子?或者任何人都知道检查相似性的好 php 类?
试试 PHP 中的levenstein 函数。
在 MySQL 中,您必须为此编写存储过程。