I have a script where I am trying to match new job names with existing job names in the database.
SELECT a.title AS JobTitle, j.Description AS MatchedJobTitle, f.Description AS Family, p.ShortDescription AS ColourComplexity, j.IsCustomerFacing, j.JobTitleID FROM JobTitle j CROSS JOIN Staging.TMP_OC1 a INNER JOIN JobFamily f ON j.JobFamilyId = f.JobFamilyID INNER JOIN Pathways p ON f.PathwaysID = p.PathwaysID WHERE a.title REGEXP CONCAT('([[:<:]]|^)', j.Description, '[s]?([[:>:]]|$)');
The Staging.TMP_OC1 table has one record for the new position, in this case Software Developer,USA. I want to match it to the database's existing job title "Software Developer". The regex code above works for some positions but not others. Please help develop a more comprehensive plan.
I am using mysql V8.
三候是什么意思 | 梦见和死人说话是什么意思 | 尿带血是什么原因 | 夜不能寐什么意思 | 黄色衣服配什么颜色裤子好看 |
什么是手机号 | 河南有什么美食 | 什么叫甲亢 | 课程是什么 | 黄酒是什么 |
吃什么最养胃 | 抽血血液偏黑什么原因 | 什么是ct | 蚕除了吃桑叶还能吃什么 | 长春都有什么大学 |
11月21日什么星座 | 豆豉是什么东西 | 孩子鼻子流鼻血是什么原因 | 怎么知道自己对什么过敏 | 亲家是什么意思 |
怀孕第一个月有什么特征hanqikai.com | 女性支原体阳性是什么意思hcv9jop2ns3r.cn | ca199偏高是什么意思yanzhenzixun.com | 8.1是什么星座0735v.com | 现在最好的避孕方法是什么hcv9jop4ns0r.cn |
身上长疮是什么原因引起的chuanglingweilai.com | 结局be是什么意思hcv9jop1ns0r.cn | rna是什么意思hcv7jop5ns4r.cn | 小厨宝是什么hcv9jop2ns1r.cn | 半夜尿多是什么原因hcv9jop2ns7r.cn |
青春期指什么年龄段hcv9jop3ns4r.cn | 药师是干什么的hcv8jop4ns0r.cn | 怀孕初期流产有什么症状hcv9jop2ns7r.cn | 新型冠状病毒有什么症状hcv8jop2ns5r.cn | 子宫和宫颈有什么区别520myf.com |
告人诈骗需要什么证据hcv8jop3ns2r.cn | 年上和年下是什么意思naasee.com | 吃什么菜能降血糖1949doufunao.com | 做梦掉牙齿是什么意思hcv9jop6ns7r.cn | 做照影是检查什么hcv8jop6ns8r.cn |
You don't need to test the beginning/end of the string; these are "word boundaries".
MySQL 8.0 uses
\b
as two word boundaries instead of[[:<:]]
and[[:>:]]
In some cases, 8.0 requires doubling backslashes.
This may work: