VCE IT Theory Slideshows

Slides:



Advertisements
Similar presentations
VCE IT Theory Slideshows By Mark Kelly Vceit.com Referential Integrity in databases.
Advertisements

VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 4 EVALUATION.
VCE IT Theory Slideshows - ITA By Mark Kelly Vceit.com Entity Relationship Diagrams (ERD)
VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com Power Websites CMS and CSS.
USER DOCUMENTATION (Part of the development phase of the PSM) Mark Kelly
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Legislation: © OPYRIGHT.
IT Applications Theory Slideshows By Mark Kelly vceit.com Database Design Tools Version 2.
VCE IT Theory Slideshows
IT Applications Theory Slideshows By Mark Kelly Vceit.com WEBSITE DESIGN TOOLS.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Types and contents of On-screen user documentation.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Practices that cause conflict.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Websites & Data.
VCE IT Theory Slideshows
VCE IT Theory Slideshows By Mark Kelly Vceit.com Characteristics of efficient and effective solutions.
IT Theory Slideshows ITA, SD, IT11 By Mark Kelly Vceit.com Project Management Overview.
VCE IT Theory Slideshows By Mark Kelly vceit.com Data Types 1 a.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Testing Network Security.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Last modified : 6 Dec 2013 Databases II: Structure, naming, data types, data formats.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Privacy Laws.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 3 Development.
IT Applications Theory Slideshows Databases II: Structure, Naming, data types, data formats.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Arrays.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 1 Analysis.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Websites & Data.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows By Mark Kelly vceit.com Version 2 – updated for 2016 Data Types 1 a.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
AOIT Database Design Unit 3, Lesson 9 Data Integrity Copyright © 2009–2011 National Academy Foundation. All rights reserved.
Database Constraints ICT 011. Database Constraints Database constraints are restrictions on the contents of the database or on database operations Database.
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
Tables & Relationships
Databases Chapter 9 Asfia Rahman.
VCE IT Theory Slideshows – ITI Updated for 2016
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
Database Keys and Constraints
IT Applications Theory Slideshows
CIS 155 Table Relationship
IT Applications Theory Slideshows
Database Relationships
IT Applications Theory Slideshows
Design a Relational Database Identify Database Purpose
VCE IT Theory Slideshows by Mark Kelly study design
Database Normalisation VCE IT Theory Slideshows - Informatics
Module 5: Implementing Data Integrity by Using Constraints
VCE IT Theory Slideshows by Mark Kelly study design
VCE IT Theory Slideshows
VCE IT Theory Slideshows by Mark Kelly study design Test Data
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows Updated for 2016
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
Integrity 5/5/2019 See scm-intranet.
Understand the purpose of normalisation in terms of reducing duplication of data  Understand the purpose of Primary and Secondary Keys in a Database  Learning.
DATABASE Purpose of database
IT Applications Theory Slideshows
Presentation transcript:

VCE IT Theory Slideshows Referential Integrity in databases By Mark Kelly mark@vceit.com Vceit.com

Contents This is not key knowledge. It is not assessable. What it is How it works Why you want it

What is referential integrity? It’s a term that may be unfamiliar to Filemaker Pro users Access users might be more aware of it

Referential integrity A method of ensuring that references from one related table to another remain unbroken Broken references can happen where a foreign key in a table refers to a primary key field that does not exist in the related table.

For example This schema has referential integrity ARTISTS TABLE Artist ID Artist Name BEAT Beatles ROLL Rolling Stones REM R.E.M. CD SALES TABLE SaleID Artist ID 1029 BEAT 1030 ROLL 1031 REM 1032 1033 1034 In the CD SALES TABLE, each reference to an artist has a match in the ARTIST TABLE

For example This schema has broken referential integrity ARTISTS TABLE Artist ID Artist Name ROLL Rolling Stones REM R.E.M. CD SALES TABLE SaleID Artist ID 1029 BEAT 1030 ROLL 1031 REM 1032 1033 1034 References in the CD SALES TABLE to BEAT fail because there’s no matching value in the ARTIST TABLE.

Why referential integrity is good It prevents “Missing value” errors like this…

How it works With referential integrity turned on if you try to delete a key field value (e.g. “BEAT”) that another table refers to, the RDBMS may Warn you that you would be breaking referential integrity. Delete all related fields that refer to the deleted value. Forbid the deletion until all records that refer to the key field have been deleted first.

Filemaker Does not enforce referential integrity Allows you to delete key values Results in null (empty) lookup values

VCE IT THEORY SLIDESHOWS By Mark Kelly mark@vceit.com vceit.com These slideshows may be freely used, modified or distributed by teachers and students anywhere on the planet (but not elsewhere). They may NOT be sold. They must NOT be redistributed if you modify them.

Because you’ve been good…