I'm trying to do a script that generate a 20 digit random string. But these strings have to be unique.
Imagine that I generate today 20000 random string and tomorrow 20000 other strings I need to be sure that I have 40000 different string.
The problem is the amount of data I have nearly 700000 serial by day and don't know how to optimize it to be sure to have unique serial with competitive time ...
Thanks you for your help.
Need to be compliant to this https://ec.europa.eu/health/sites/health/files/files/eudralex/vol-1/reg_2016_161/reg_2016_161_en.pdf
I can't do incremental.