On Tue, Oct 13, 2009 at 1:42 PM, Jason Handby <jason.handby at corestar.co.uk> wrote: > Another option that just occurred to me: import your entire CSV file > into a database table, then use the DB engine itself to do the pattern > matching and inserting into your other table. Ladies and gentlemen, I think we have a winner :-) Best idea so far, I'd say. -- Hassan Schroeder ------------------------ hassan.schroeder at gmail.com twitter: @hassan