I have 2 tables of invoice information where the invoice number is anywhere from 5 to 11 numbers. I am trying to match invoices where any 3 consecutive numbers are the same.
Ex: Invoice # 41598 and Invoice # 98915979 would match since 159 is consecutive in both.
The position of the match within the number doesn't matter.
Thanks!
Ex: Invoice # 41598 and Invoice # 98915979 would match since 159 is consecutive in both.
The position of the match within the number doesn't matter.
Thanks!