Roy Harper
Coder
I am just curious as to why others generate unique strings or ID for transactions or orders when they can just use the primary key in SQL.
Is it recommended to generate id like this 111834039007163223, or is it okay to just use the primary key in SQL generated using auto_incement?
I always see websites or applications using this kind of ID. Can someone please enlighten me on how would I benefit from this or how should I properly use this on my project? I am planning to use this on the transactions on our project.
Is it recommended to generate id like this 111834039007163223, or is it okay to just use the primary key in SQL generated using auto_incement?
I always see websites or applications using this kind of ID. Can someone please enlighten me on how would I benefit from this or how should I properly use this on my project? I am planning to use this on the transactions on our project.