How to use LIKE statement in sql plus with multiple wild carded values?

筅森魡賤 提交于 2019-12-06 15:43:29

Create a table of your 100 names

select customername from customers c inner join customersames cn on(c.customernamename like '%'+cn.searchForname)

Can be a table variable if that helps.

you can use regular expressions

EDIT: You can find plenty of resources online. take http://66.221.222.85/reference/regexp.html for example.

Regular expressions are really powerful but can be very SLOW if applied carelessly. For your case they may not squeeze your syntax much because you need to type those names anyway and that's the bulky part.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!