OK, I'll keep that in mind, although I would think that the problem would then occur on the COPY TO statement.
In any case, I've used your suggestion.
Thanks,
Jim
>Well Jim, if everything else fails, you might want to try changing the SYS(3) call, that might give you duplicate results, with SYS(2015), which ensures no duplicates. I am not sure if it helps, but I do not think it will hurt :)
Jim Nelson
Newbury Park, CA