# Row ID alternative

**URL:** <https://community.glideapps.com/t/row-id-alternative/28445>\
**Category:** Ask for Help\
**Created:** [June 28, 2021, 6:00pm UTC](https://community.glideapps.com/t/row-id-alternative/28445 "2021-06-28T18:00:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 16, 2021, 8:23am UTC](https://community.glideapps.com/t/row-id-alternative/28445/8 "2021-07-16T08:23:35Z")

</div>

I would think that RANDBETWEEN could always have the potential to return duplicates and would constantly change, unless you are somehow building in logic to save that random value…and even then, it would have to somehow allow multiple users to get a unique random number at the same time

I think the safest bet for a short and unique random number would be some kind of mathematical logic that uses the date and time in combination with a number generated from part of a user’s name and a global number that gets incremented, and combines all of those numbers together. Still not fool proof, but much less likely to run into duplicate ID numbers.

---

_[View the full topic](https://community.glideapps.com/t/row-id-alternative/28445)._
