Indeed, PAY should be PAP, I edited and removed the typo. I will give this a try and come back with the results. The idea is to perform the query after the import in the temporary table before it goes to the production table. That way it it doesn't matter that it is a little slow at that moment...