What to do when you need integers larger than 20 digits on mysql?
问题 Seems like BIGINT is the biggest integer available on MySQL, right? What to do when you need to store a BIGINT(80) for example? Why in some cases, like somewhere in the Twitter API docs, they recommend us to store these large integers as varchar ? Which is the real reason behind the choice of using one type over another? 回答1: Big integers aren't actually limited to 20 digits, they're limited to the numbers that can be expressed in 64 bits (for example, the number 99,999,999,999,999,999,999 is