• This script didn't work if a tab was used before the tablename. I modified the like clause like this and it seemed to pick them up

    ON c.Text LIKE '%[ ,=' + CHAR(9) + ']' + t.TableName + '[ .,' + CHAR(9) + ']%'