我应该在 SQL varchar(length) for phone 中考虑的最长的全球电话号码是多少

问题:

What's the longest possible worldwide phone number I should consider in SQL varchar(length) for phone.我应该在电话的 SQL varchar(length)考虑最长的全球电话号码是多少。

considerations:考虑:

  • + for country code + 国家代码
  • () for area code () 为区号
  • x + 6 numbers for Extension extension (so make it 8 {space}) x + 6 个数字用于扩展扩展名(因此将其设为 8 {space})
  • spaces between groups (ie in American phones +x xxx xxx xxxx = 3 spaces)组之间的空格(即在美国电话中 +x xxx xxx xxxx = 3 个空格)
  • here is where I need your help, I want it to be worldwide这就是我需要你帮助的地方,我希望它遍布全球

Consider that in my particular case now, I don't need cards etc. number begins with country code and ends with the extension, no Fax/Phone etc. comments, nor calling card stuff needed.考虑到我现在的特殊情况,我不需要卡片等号码以国家代码开头并以扩展名结尾,没有传真/电话等评论,也不需要电话卡内容。


解决方案:

参考一: https://en.stackoom.com/question/32El
参考二: https://stackoom.com/question/32El
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章