MySQL char vs. int

后端 未结 4 1400
情话喂你
情话喂你 2021-01-22 09:55

I\'m currently having a discussion in my class about the datatypes char and int in MySQL. We have a phone number of 8 individual numbers. However, we c

4条回答
  •  再見小時候
    2021-01-22 10:30

    I started using VARCHAR for storing phone numbers because it gives you more range in formats of different countries. Storage is cheap.

提交回复
热议问题