I need to run a RLIKE query on a database mmoved from MySQL to SQL Server 2005 however having problems replicating the ‘RLIKE’ functionality that MySQL provides.
Does anyone have any ideas?
Cheers,
Chris
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only way I know of to do that is to add user defined CLR functions.
To begin with, here’s an MSDN Magazine article, ‘Regular Expressions Make Pattern Matching And Data Extraction Easier‘
The code for that article, which I’ve been using for a couple of years now, is here.