I'm putting together a database of locations for looking up nearest locations for a given address. As I started laying out the table going about my business I wondered what other people were doing and if there was a 'best practices' for some common datatypes. Such as phone numbers, addresses and even latitude and longitude.
This is what I have so far. Any suggestions or improvements?
These should all be US addresses, FYI.
Column DataType
------ ------------
id int
city nvarchar(100)
address nvarchar(100)
address2 nvarchar(100)
state varchar(2)
zip nvarchar(10)
phone nvarchar(14)
fax nvarchar(14)
name nvarchar(100)
latitude float
longitude float
notes text