您将在英国数据库使用多少个地址字段? [英] How many address fields would you use for a UK database?

查看:184
本文介绍了您将在英国数据库使用多少个地址字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

地址记录可能在大多数数据库中使用,但我已经看到了一些略微不同的字段集用于存储它们。字段数似乎从3-7变化,有时所有字段都简单地标记为address1..addressN,其他时间赋予特定含义(城镇,城市等)。



这是英国具体的,虽然我也可以对世界其他地方的评论。在这里,你需要地址的第一行(实际上只是数字)和邮政编码来标识地址 - 其他都是额外的奖励。



目前赞成:




  • 地址1

  • 地址2

  • 地址3

  • 城镇


  • 邮政编码



    • 我们可以添加国家,如果我们需要它(不太可能)。



      你觉得怎么样?这太小了,太多了吗?

      解决方案

      邮局建议( http://www.postoffice.co.uk/portal/po/content1?catId=19100182&mediaId=19100267 )7行:




      • 地址名称

      • 公司/组织

      • 大厦名称

      • 大厦数目和大道名称

      • 地区名称

      • 邮政镇

      • 邮政编码



      然后他们说你不需要包括县名称提供使用邮政镇和邮政编码。


      Address records are probably used in most database, but I've seen a number of slightly different sets of fields used to store them. The number of fields seems to vary from 3-7, and sometimes all fields are simple labelled address1..addressN, other times given specific meaning (town, city, etc).

      This is UK specific, though I'm open to comments about the rest of the world too. Here you need the first line of the address (actually just the number) and the post code to identify the address - everything else is mostly an added bonus.

      I'm currently favouring:

      • Address 1
      • Address 2
      • Address 3
      • Town
      • County
      • Post Code

      We could add Country if we ever needed it (unlikely).

      What do you think? Is this too little, too much?

      解决方案

      The Post Office suggests (http://www.postoffice.co.uk/portal/po/content1?catId=19100182&mediaId=19100267) 7 lines:

      • Addressees Name
      • Company/Organisation
      • Building Name
      • Number of building and name of thoroughfare
      • Locality Name
      • Post Town
      • Post Code

      They then say you do not need to include a County name provided the Post Town and Postcode are used.

      这篇关于您将在英国数据库使用多少个地址字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆