What's the longest possible worldwide phone number I should consider in SQL varchar(length) for phone

前端 未结 5 1580
星月不相逢
星月不相逢 2020-11-30 17:35

What\'s the longest possible worldwide phone number I should consider in SQL varchar(length) for phone.

considerations:

  • + for country code
5条回答
  •  臣服心动
    2020-11-30 18:12

    In the GSM specification 3GPP TS 11.11, there are 10 bytes set aside in the MSISDN EF (6F40) for 'dialing number'. Since this is the GSM representation of a phone number, and it's usage is nibble swapped, (and there is always the possibility of parentheses) 22 characters of data should be plenty.

    In my experience, there is only one instance of open/close parentheses, that is my reasoning for the above.

提交回复
热议问题