What datatype should be used for storing phone numbers in SQL Server 2005?

前端 未结 16 2064
情话喂你
情话喂你 2020-11-28 05:29

I need to store phone numbers in a table. Please suggest which datatype should I use? Wait. Please read on before you hit reply..

This field needs

16条回答
  •  被撕碎了的回忆
    2020-11-28 05:43

    I'm probably missing the obvious here, but wouldn't a varchar just long enough for your longest expected phone number work well?

    If I am missing something obvious, I'd love it if someone would point it out...

提交回复
热议问题