mysql - How do I get an alphanumeric / alphaid (base 62) youtube-like id string from an integer column in SQL? -


how convert id int column in mysql base 62 alphanumeric string?

basically need mysql implementation of following:

http://kvz.io/blog/2009/06/10/create-short-ids-with-php-like-youtube-or-tinyurl/

it better generate id using uuid or use auto increment store in mysql encode decode while using front end. can use library generate non sequential unique id's numbers.

http://hashids.org


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -