Hi, In my formal post, I mentioned that I will try to use a new statement handle for each new query. But it doesn't work. Reason could be that I also set the Connection Timeout to 40 seconds. Anyway, now I am going to remove all timeout constraints from my code. If I have time, I will write a small test program and post here. Regards Ou