thanks for the reply but just to clarify - the SQL itself works fine most of the time - my problem is that when inserting 80,000 records (in one go ie calling above statement once) it inserts only 79,996 out of the 80k for no apparent reason - a rerun will fix it - it seems to be most frequent...