I have 2 tables. One of them having one of the columns as regexp's. I want to join the two tables on the regexp column. Cannot seem to be able to do this. To elaborate: table 1 is (errortype, action, error message) and table 2 is(regexp for error message of each type, error code) join columns are error message and regexp, both string. Is this possible? Thanks.
Select * from table1
left outer join table2 on table1.error_message=table2.regExp.
Issue : table2.regExp
has actual regular expressions that should match one or more table1.error_messages
. the =
does not work here.