My idea was to convert the script to use SQL instead.
But thanks for the advise !

2 Likes