![]() |
Getting next ID before insert - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting next ID before insert (/showthread.php?tid=58560) Pages:
1
2
|
Getting next ID before insert - El Forum - 06-26-2013 [eluser]Pert[/eluser] Bet the duplicate was 100,001 ![]() I like your reason for when merging databases. I used to generate my own ideas with YYMMDDHHMMSS+random couple of numbers. Can't remember why we changed and started using auto increased DB indexing. Getting next ID before insert - El Forum - 06-26-2013 [eluser]bazianm[/eluser] Well, if you don't like UUIDs, couldn't you use UniqId()? I haven't used it, personally. I always used GUID in the MS world and just imprinted on UUID, I guess... |