View Single Post
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-14-2021 , 06:52   Re: Generate a Random 6 Digit Random ID and Attach on SQL
Reply With Quote #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 06:53.
HamletEagle is offline