[Year 12 IT Apps] database convention - postcodes as a text field in databases
ATKINSON-BUCK, Damien
Damien.ATKINSON-BUCK at ivanhoe.com.au
Thu May 30 17:33:29 EST 2013
Hi folks,
After many years working on the back-end structures of the white and yellow pages, I can say for a certainty, that they store the postcodes as a text field - and the phone numbers too, in fact virtually everything from the size of the ad (categories) to the street number is stored as text. Again, partly due to the lack of arithmetic needed (the cost of the ad is based on the category, type of listing and a few various other things) and mainly due to the size restrictions. There used to be around 15,000 - 30,000 updates per night, and when each historical transaction is saved for each number, that ends up being petabytes of data VERY quickly.
Cheers
Damien
Damien Atkinson-Buck
Head of Learning Area: Technology/Arts
[cid:image002.png at 01CE5D5B.CC567BB0]
p: +61 3 9490 3848
e: damien.atkinson-buck at ivanhoe.com.au<mailto:damien.atkinson-buck at ivanhoe.com.au>
f: +61 3 9490 3490
w: www.ivanhoe.com.au<http://www.ivanhoe.com.au/>
From: Mark [mailto:mark at vceit.com]
Sent: Thursday, 30 May 2013 12:03 PM
To: Year 12 IT Applications Teachers' Mailing List
Subject: Re: [Year 12 IT Apps] database convention - postcodes as a text field in databases
But obviously UK postcodes include text characters, so they must be stored as text. This does not apply to Australian postcodes.
I can't remember if the original poster meant to store ANY post/zip code from around the world or not...
On 30 May 2013 09:44, Watson, Donald R <watson.donald.r at edumail.vic.gov.au<mailto:watson.donald.r at edumail.vic.gov.au>> wrote:
Hello All,
The link below pretty much says it all.
The convention is that postcodes should defined and be input as text.
Of course there could be circumstances in which a specialised database might need to use some 'regional intelligence' based on a postcode.
A mail drop to all postcodes between 3850 and 3860 covers my area of Gippsland for example. It saves time on listing 100's of towns in a complicated case or nested if statement.
http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom
Don
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
IT Applications Mailing List kindly supported by
http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html - Victorian Curriculum and Assessment Authority <br>
http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc <br>
http://www.swinburne.edu.au/ict/schools - Swinburne University
--
--
Mark Kelly
mark AT vceit DOT com
http://vceit.com
Privacy, Virus and Copyright Warning
The information contained in this electronic message (e-mail), and any files transmitted with it:
* is intended for the named recipients only. If you have received this in error, please advise the sender and delete it and any copies immediately;
* Any personal information in this email must be used in accordance with the Privacy Act 1988 and this always applies even if it has been sent to you in error.
* represents the views of the sender and does not necessarily represent the views or formal advice of Ivanhoe Grammar School;
* may be subject to Copyright, so no further use should be made of it without the author's permission.
The School does not represent or warrant that the email or any files attached do not contain errors or are free from computer viruses or other defects nor does it accept responsibility for any loss or damage resulting directly or indirectly from the use of the email or any attached files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/itapps/attachments/20130530/4cecc754/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1024 bytes
Desc: image001.png
Url : http://www.edulists.com.au/pipermail/itapps/attachments/20130530/4cecc754/image001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3779 bytes
Desc: image002.png
Url : http://www.edulists.com.au/pipermail/itapps/attachments/20130530/4cecc754/image002.png
More information about the itapps
mailing list