I need to store postal codes in a database. How big should the column be?
问题 I expect the column to be a VARCHAR2, in my Oracle Database. US Zips are 9. Canadian is 7. I am thinking 32 characters would be reasonable upper limit What am I missing? [EDIT] TIL: 12 is a reasonable answer to the question Thanks to everyone who contributed. 回答1: Skimming through Wikipedia's Postal Codes page, 32 characters should be more than enough. I would say even 16 characters is good. 回答2: As already raised by @neil-mcguigan, wikipedia has a decent page on the topic. Based on that 12