<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- --><style type="text/css">@import url(//www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head> <body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d2110564875967830374\x26blogName\x3d%E2%99%A5+Marielle.+Yr+12+IPT\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://justdareyou.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttps://justdareyou.blogspot.com/\x26vt\x3d1537764824001591938', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>



entriesaboutchatlinks

Tuesday, February 8, 2011
Organisation Methods & Appropriate Field Data Types @ 5:43 PM

~Organisation Methods & Appropriate Field Data Types~


Page 119-122 of textbook

Computer Based Methods of Organising

Flat File Databases- The simplest form of database where most non-computer databases are examples of flat file databases (e.g. telephone books)
Relational Databases- Used extensively as the data store for all types of applications.
Hypertext/Hypermedia- Based on the connection of related data using hyperlinks (e.g. the World Wide Web)

Choosing an Appropriate Field Data Type

Decisions between text and numeric:
  • Arithmetic operations (addition, subtraction, multiplication,etc) - NUMERIC
  • Date/Time (no mathematical operations) - DATE/TIME
  • Sorting data alphabetically and numerically where numbers are entered into the text field and sorted alpha-numerically (e.g. 1, 10, 103, 12, 2, 21, 245, 5)
If text data is required:
  • Limit of characters where TEXT holds 255 characters whilst MEMO holds almost unlimited
  • Unicode or ASCII, where Unicode is an extension of ASCII that includes foreign language characters and symbols
If numeric data is required:
  • Will values stored always be integers (whole numbers). Integers are best used if so and use the least amount of storage
  • Consider the range of values required
  • Currency or money values and which is optimised for the highest level of financial calculations (e.g. Banker's Rounding)
  • How precisely the data can be represented as a floating point which specifies the number of decimal points (rarely used and doesn't represent as accurately due to limited representation) and floating which uses any number of decimal (commonly used with more range that's more versatile with up to 7 significant figures)