There is no built-in function that returns the number of occurrences of a given string ("LIKE" within another string (your SQL statement). What are you really trying to do, just determine whether or not "LIKE" occurs 2 or more times, or are you really doing more than that? Do you need to ignore LIKEs within quoted literals? I can write you a quick function, but I need more specs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.