INTEGRITY CONSTRAINTS Database System Concepts, Second Edition, Chapter 5, page 149.

Slides:



Advertisements
Presentasi serupa
Developing Knowledge Management dalam perusahaan Week 10 – Pert 19 & 20 (Off Class Session)
Advertisements

Pengujian Hipotesis untuk Satu dan Dua Varians Populasi
Mata Kuliah : ALGORITMA dan STRUKTUR DATA 1.
PEMOGRAMAN BERBASIS JARINGAN
Modeling Data in the Organization
PERUBAHAN VS PERBAIKAN Center for Continuous Improvement, Today is better than yesterday, tomorrow is better than today
Heat Insulation and Sound Insulation Displays
SQL (Structured Query Language)
Materi Analisa Perancangan System.
Peta Kontrol (Untuk Data Variabel)
1 Pertemuan > Desain fisik basis data Matakuliah: >/ > Tahun: > Versi: >
Administrasi Basis Data
IT SEBAGAI ALAT UNTUK MENCIPTAKAN KEUNGGULAN KOMPETISI
PERULANGANPERULANGAN. 2 Flow of Control Flow of Control refers to the order that the computer processes the statements in a program. –Sequentially; baris.
Tugas-Tugas.
Slide 3-1 Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Revised by IB & SAM, Fasilkom UI, 2005 Exercises Apa saja komponen utama.
Review IS & Software System Concept Diah Priharsari PTIIK – Universitas Brawijaya Source: 1.Obrien & Marakas, Management Information.
Introduction to The Design & Analysis of Algorithms
IF-ITB/SAS/25Aug2003 IF7074 – Bagian Pertama Page 1 IF 7047 Kewirausahaan Teknologi Informasi Bagian Pertama: 1.1. Entrepreneurship, entrepreneur, dan.
Database Create-Retrieve-Update-Delete (CRUD)
PROSES PADA WINDOWS Pratikum SO. Introduksi Proses 1.Program yang sedang dalam keadaan dieksekusi. 2.Unit kerja terkecil yang secara individu memiliki.
1. Objek dalam kalimat aktif menjadi subjek dalam kalimat pasif
KIMIA ORGANIK II ELFI SUSANTI VH.
Understanding The nature of PBI Courses Nury S, MA Presented at UAD workshop August 10 –
Could not load an object because it is not avaliable on this machine. Tidak dapat memuat sebuah benda karena tidak tersedia pada mesin ini.
Risk Management.
2-Metode Penelitian Dalam Psikologi Klinis
Implementing an REA Model in a Relational Database
MEMORY Bhakti Yudho Suprapto,MT. berfungsi untuk memuat program dan juga sebagai tempat untuk menampung hasil proses bersifat volatile yang berarti bahwa.
2nd MEETING Assignment 4A “Exploring Grids” Assignment 4 B “Redesign Grids” Create several alternatives grid sysytem using the provided elements: (min.
Slide 1 QUIS Langkah pertama caranya Buat di slide pertama judul Slide kedua soal Slide ketiga waktu habis Slide keempat jawaban yang benar Slide kelima.
LOGO Manajemen Data Berdasarkan Komputer dengan Sistem Database.
Linked List dan Double Linked List
PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN Jl. Letjen. Sutoyo Pontianak, Telp. (0561) , Website:
Pemrograman Sistem Basis Data Chapter II Database Sistem (Lanjutan)
SMPN 2 DEMAK GRADE 7 SEMESTER 2
THE IMMERSED TUNNELS MAIN BENEFITS AND INNOVATION BY. WAWAN SETIAWAN.
STRUCTURAL CONTROL continuation STATEMENT  SWITCH  WHILE  DO..WHILE.
THE EFFICIENT MARKETS HYPOTHESIS AND CAPITAL ASSET PRICING MODEL
1. 2 Work is defined to be the product of the magnitude of the displacement times the component of the force parallel to the displacement W = F ║ d F.
Lecture 8 Set and Dictionary Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
© 2009 Fakultas Teknologi Informasi Universitas Budi Luhur Jl. Ciledug Raya Petukangan Utara Jakarta Selatan Website:
Structured Query Language (SQL)
Via Octaria Malau Transfer (Internal Transfers) Transfer (Transfers Internal) Select the account from which funds are to be transferred FROM and then select.
Menu Standard Competence Based Competence.
Web Teknologi I (MKB511C) Minggu 12 Page 1 MINGGU 12 Web Teknologi I (MKB511C) Pokok Bahasan: – Text processing perl-compatible regular expression/PCRE.
Made by: Febri, Andrew, Erina, Leon, Luvin, Jordy
Lecture 2 Introduction to C# - Object Oriented Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Slide 1 Chapter 1: Introduction to Systems Analysis and Design Alan Dennis, Barbara Wixom, and David Tegarden John Wiley & Sons, Inc.
SQL 2. Database TRANSACTION Tabel yang terlibat : Customer berisi data pelanggan (nama, alamat, dll) OderInfo berisi info pemesanan oleh pelanggan (tgl.
BLACK BOX TESTING.
1 Pertemuan 09 Kebutuhan Sistem Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
PERTEMUAN KE-6 UNIFIED MODELLING LANGUAGE (UML) (Part 2)
1 Pertemuan 11 Function dari System Matakuliah: M0446/Analisa dan Perancangan Sistem Informasi Tahun: 2005 Versi: 0/0.
13 Akuntansi Biaya Activity Based Costing
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
Pengujian Hipotesis (I) Pertemuan 11
Kk ilo Associative entity.
THE INFORMATION ABOUT HEALTH INSURANCE IN AUSTRALIA.
By Yulius Suprianto Macroeconomics | 02 Maret 2019 Chapter-5: The Standard of Living Over Time and A Cross Countries Source: http//
Right, indonesia is a wonderful country who rich in power energy not only in term of number but also diversity. Energy needs in indonesia are increasingly.
Minimalist Motion Planning Using Global Topological Guarantees
Warm UP Write the definition of a triangle as a conditional.
Resources for Implementing the Technology Course of Study
What is Kerberos? Network Security.
Lecture 8 Normal model.
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
Consistency and Replication
Content Marketing Template
Wednesday/ September,  There are lots of problems with trade ◦ There may be some ways that some governments can make things better by intervening.
Transcript presentasi:

INTEGRITY CONSTRAINTS Database System Concepts, Second Edition, Chapter 5, page 149

MK: QUIZ SISTEM BASIS DATA DSN: MAM, RASP UNIVERSITAS LAMPUNG FAKULTAS TEKNIK JURUSAN TEKNIK ELEKTRO TAHUN AKADEMIK 2013 /2014

2013 Quiz Sistem Basis Data [1] NBM ganjil Soal 1: Tunjukkan tipe (data base) user yg akan melakukan fungsi-fungsi berikut untuk sistem gaji di dalam sebuah universitas besar; (a) Menulis sebuah program aplikasi untuk menghasilkan dan mencetak resi; (b) Mengubah alamat di dalam data base untuk seorang karyawan yang pindah; (c) Membuat user account baru untuk petugas klerikal yang baru direkrut.

2013 Quiz Sistem Basis Data [2] NBM genal soal 1: Pikirkanlah data base milik sebuah perusahaan televisi berbayar yang memuat nama pelanggan, alamat, kategori layanan (televisi kabel, televisi satelit, televisi protokol internet), dan informasi penagihan. Tentukanlah permission level untuk masing- masing data base user (petugas penagihan, petugas perbaikan, dan petugas customer service).

2013 Quiz Sistem Basis Data [3] NBM ganjil soal 2: What are the main differences between a file-processing system and a data base management system? NBM genap soal 2: Explain the difference between physical and logical data independence?

2013 Quiz Sistem Basis Data [4] NBM ganjil soal 3:

2013 Quiz Sistem Basis Data [5] NBM genap soal 3: Bagai mana derajat dan kardinalitas dari relasi SUPPLIER berikut ini?

2013 Quiz Sistem Basis Data [6] NBM ganjil soal 4: Construct an E-R diagram for a university registrar’s office. The office maintains data about each class, including the instructor, the enrollment, and the time and place of the class meetings. For each student- class pair, a grade is recorded.

2013 Quiz Sistem Basis Data [7] NBM genap soal 4: Construct an E-R diagram for a car insurance company with a set of customers, each of whom owns a number of cars. Each car has a number of recorded accidents associated with it.

Materi Domain Constraints. Referential Integrity. Functional dependencies. Assertions. Triggers.

INTEGRITY CONSTRAINTS... Provide a means of ensuring that changes made to the database by authorized users do not result in a loss of data consistency. Thus, integrity constraints guard against accidental damage to the database. We have already seen a form of integrity constraint for the E-R model. These constraints were in the form of...

Key declaration – the stipulation that certain attributes form a candidate ke for a given entity set. The set of legal insertions and updates are constrained to those that do not create two entities with the same value on a candidate key. Form of a relationship – many to many, one to many, one to one, or one to many relationship restrics to set of legal relationship among entities of a collection of entity sets.

In general, An integrity constraint can be an arbitrary predicate pertaining to the database. However, arbitrary predicates may be costly to test. Thus we usually limit ourselves to integrity constraints that can be tested with minimal overhead. DOMAIN CONSTRAINT – A domain of possible values must be associated with every attributes.

How such Constraints are specified in the SQL (Structured Query Language) DDL (Data Definition Language). Domain constraints are the most elementary form of integrity constraint. They are tested easily by the system whenever a new data item is entered into the database.

Domain types It is possible for several attributes to have the same domain. For example, the attibutes customer-name and employee-name might have the same domain, the set of all person names. However, the domains of balance and branch- name certaintly ought to be distinct. It is perhaps less clear whether...

... Customer-name and... Branch-name should have the same domain. At the implementation level, both customer-names and branch names are character strings. However, we would normally not consider the query “Find all customers who have the same name as a branch” to be a meaningful query. Thus, if we view the database at the conceptual rather than physical level, customer-name and branch-name should have distinct domains.

We can see that A proper definition of domain constraints not only allows us to test values inserted in the database but also permits us to test queries to ensure that the comparisons made make sense. The principle behind attribute domains is similar to that behind typing of variable in programming languages.

Strongly typed programming languages Allow the compiler to check the program in greater detail. However, strongly typed language inhibit “clever hacks” that are often required for system programming. Since database systems are designed to support users who are not computer experts, the benefits of strong typing often outweigh the disadvantages.

Nevertheless, Many existing system allow only a small number of types domains. Newer systems, particularly object-oriented database system, offer a rich set of domain types that can be extended easily. Domain types in SQL