I need to match abreviations, where a dot means everything that starts with, like:
Rows:
blue love
abo love
comeb love
blue lauer
blue alo
(a)
Input:
b. love
Expected output:
blue love
(b)
Input:
b. l.
Expected output:
blue love
blue lauer
Any tip?
You could convert the . to a % so that you can do a
LIKEThen just use it:
It would be equivalent to:
OR
Here is a working SQL Fiddle example