Thread
:
Generate a Random 6 Digit Random ID and Attach on SQL
View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
10-14-2021 , 05:52 Re: Generate a Random 6 Digit Random ID and Attach on SQL
#
3
Or you know, you could just let SQL generate the ID by using AUTO INCREMENT. Manually generating the random ids has an (extremely small) chance of generating duplicate indexes.
__________________
Last edited by HamletEagle; 10-14-2021 at
05:53
.
HamletEagle
View Public Profile
Send a private message to HamletEagle
Find More Posts by HamletEagle