Step 0 How to begin and what you need to do before you start?

Size: px
Start display at page:

Download "Step 0 How to begin and what you need to do before you start?"

Transcription

1 Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg ËÁ̽½ Ø Å Ò Ñ ÒØ Ò Ë ÙÖ ØÝ Ê Ô º½ ÀÓÛ ØÓ Ö Ø Ò ÓÛ ØÓ ÐØ Ö Ø Ö Ð Ø ÓÒ Ð Ø Ð Table of contents Step 0 How to begin and what you need to do before you start? Step 1 How to create a new relational table? Step 2 How to add a column to a relational table? Step 3 How to add a referential integrity constraint to a relational table? Step 4 How to enforce a domain consistency constraint? Step 5 How to make an attribute compulsory? Step 6 How to remove a column from a relational table? Step 7 How to drop a referential integrity constraint? Step 8 How to add a row whout dropping a referential integrity constraint Step 9 How to delete a row referenced by a value of foreign key? Step 10 How to update a value of primary key? Step 0 How to begin and what you need to do before you start? A printable copy of this experiment in pdf format is available here ( e4-1.pdf). Logon to your Win 7 system and start VirtualBox. Next, either import your appliance from your USB drive and start imported virtual machine or use one of the brand new virtual machines available on your Win 7 system. Logon to Ubuntu operating system as csit115 user. Start Terminal icon to open Terminal application. We use command line interface to communicate with mysql database server. Next, we create a new folder to save SQL scripts used and created in the present experiment. To create a new folder recipe4.1 execute the following command in Terminal window. mkdir recipe4.1 A new folder recipe4.1 will is created in the current folder of a user csit115 i.e. in a folder /home/csit115. Next, make a folder recipe4.1 the current folder of csit115 user. Execute a command cd recipe4.1 to navigate to a folder recipe4.1. Then start to start a command based interface to MySQL database server and to logon as a user csit115 execute the following command. mysql csit115 -p -v Next, use a command use csit115; 1

2 to connect to a database csit115. Next, download and uncompress SQL scripts in zip format (www. uow.edu.au/~jrg/115/howto/home4.zip) used in this experiment. The scripts should be uncompressed into an earlier created folder recipe4.1. Next, execute a script file dbcreate4-1.sql ( to create a sample relational database. To remove the database from your account you may use a script dbdrop4-1.sql ( HOWTO/dbdrop4-1.sql) Do not execute the script now! A sample database created now contains information about departments, locations of departments, employees, and locations of employees. Analysis of primary and foreign keys in a file dbcreate4-1.sql ( ~jrg/115/howto/dbcreate4-1.sql) with CREATE TABLE statements provides a logical schema ( edu.au/~jrg/115/howto/schema1.pdf) of a sample database. Reverse engineering of a logical schema ( provides an equivalent conceptual schema ( of a sample database. A further restructuring provides a conceptual schema ( equivalent to the previous one. Step 1 How to create a new relational table? This action adds a new relational table to a collection of relational tables created in the previous step. Assume that we would like to add to the database created in the previous step information about the projects and departments involved in implementation of the projects. To simplify a design, assume that each department and all employees from such a department work on exactly one project and each project can be implemented by more than one department. Projects are described by project number (PNUM), title TITLE), budget (BUDGET), start, and end dates (STARTD, ENDD). As we mentioned above, an association between the projects and departments is one-to-many. Therefore, we have to create a new relational table PROJECT where PNUM is a primary key. As a consequence, we have to add PNUM as a foreign key to a table DEPARTMENT. To create a new relational table PROJECT execute a script file prjcreate.sql ( HOWTO/prjcreate.sql). The script contains the following CREATE TABLE statement: CREATE TABLE PROJECT( PNUM DECIMAL(6) NOT NULL, TITLE VARCHAR(200) NOT NULL, BUDGET DECIMAL(9,2) NULL, STARTD DATE NOT NULL, ENDD DATE NOT NULL, CONSTRAINT PROJECT_PKEY PRIMARY KEY (PNUM)); Execute a statement describe PROJECT; 2

3 to verify the structures of a relational table PROJECT. After addition of a relational table PROJECT a sample database has the following conceptual schema ( edu.au/~jrg/115/howto/schema4.pdf). Step 2 How to add a column to a relational table? Now, we add a column PNUM to a relational table DEPARTMENT. A script file pnumadd.sql ( ~jrg/115/howto/pnumadd.sql) contains the following ALTER TABLE statement, that adds a column PNUM to a relational table DEPARTMENT. ALTER TABLE DEPARTMENT ADD (PNUM DECIMAL(6)); Execute a script pnumadd.sql ( and then execute the following command to verify the results. describe DEPARTMENT; Step 3 How to add a referential integrity constraint to a relational table? Now, the tables PROJECT and DEPARTMENT are ready to be linked through a referential integrity constraint. An attribute PNUM in a table DEPARTMENT should become a foreign key referencing a primary key attribute (PNUM) in a table PROJECT. This action adds a referential integrity constraint to a table DEPARTMENT. The action makes an attribute PNUM a foreign key referencing PNUM in a table PROJECT. A script file refcreate.sql ( HOWTO/refcreate.sql) contains the following ALTER TABLE statement. ALTER TABLE DEPARTMENT ADD CONSTRAINT DEPARTMENT_FKEY FOREIGN KEY (PNUM) REFERENCES PROJECT(PNUM); Execute a script refcreate.sql ( and next execute the following command describe DEPARTMENT; to verify the results. It is possible to get more information about referential integrity constraint from a system data dictionary (system catalog) tables included in a database INFORMATION_SCHEMA. For example execute the following statement SELECT CONSTRAINT_NAME, TABLE_SCHEMA, TABLE_NAME, CONSTRAINT_TYPE FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE TABLE_SCHEMA = csit115 ; to list the names and types of constraints create by csit115 user. 3

4 Accesing the relational tables included in a database INFORMATION_SCHEMA (data dictionary or system catalog) is tried in another recipe in this group. Step 4 How to enforce a domain consistency constraint? Next, we add a consistency constraint to a relational table PROJECT that enforces a start date (STARTD) of each project to be older than end date (ENDD). This action enforces a domain consistency constraint saying that each project must take least 4 weeks. To enforce the consistency constraints listed above execute a script file checkcreate.sql ( ~jrg/115/howto/checkcreate.sql) that contains the following ALTER TABLE statement. ALTER TABLE PROJECT ADD CONSTRAINT PROJECT_CHECK CHECK (STARTD <= ADDDATE(ENDD, -28)); Verification of the results with a statement SELECT CONSTRAINT_NAME, TABLE_SCHEMA, TABLE_NAME, CONSTRAINT_TYPE FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE TABLE_SCHEMA = csit115 ; does not confirm the existence of a constraint PROJECT_CHECK. It is because MySQL does not enforce domain constraint. Syntax of ALTER TABLE statement is accepted and a constraint is not enforced. CHECK condition listed above uses a function ADDDATE(date, days) that adds days to a given date. The same condition can be also expressed as DATEDIFF(ENDD, STARTD) >= 28 which means that the condition is true if it passed 28 or more days from STARTD to ENDD. A function DATEDIFF(date1,date2) finds the total number of days from date2 to date1. A call to a standard function CURDATE() returns the current date. Hence, a call to a function ADDATE(CURDATE(), -1) means yesterday while a call ADDDATE(CURDATE(), 1) means tomorrow. A function SYSDATE() returns date and timewhen the function executes wth a precision up to a single second. For example, a statement: SELECT SYSDATE() FROM DUAL; lists the most precise date and time. An expression ADDTIME(SYSDATE(), -1:20:5 ) means 1 hour 20 minutes and 5 seconds ago and an expression ADDTIME(SYSDATE(), 3:0:1 ) 3 hours and 1 second in the future. A function ADDTIME(date-time, period) adds a period of time formatted as days hour:minutes:seconds to date-time. Step 5 How to make an attribute compulsory? Next, we add a consistency constraint to a relational table PROJECT that forces a value of an attribute (BUDGET) to be provided( NOT NULL) for each project. This action makes an attribute BUDGET compulsory for each row in PROJECT table. To achieve this goal we have to change NOT NULL/NULL clause of an attribute BUDGET. A script file setnotnull.sql ( 4

5 115/HOWTO/setnotnull.sql) contains the following ALTER TABLE statement. ALTER TABLE PROJECT MODIFY BUDGET DECIMAL(9,2) NOT NULL; Execute the script and to verify the results execute the following command. describe PROJECT; Step 6 How to remove a column from a relational table? Next, we remove a column TITLEfrom a relational table PROJECT. A file coldrop.sql ( contains the following ALTER TABLE statement. ALTER TABLE PROJECT DROP TITLE; Execute the script and and to verify the results execute the following command. describe PROJECT; If we would like to drop a column referenced by another column, for example PNUM in table PROJECT then we have to add CASCADE CONSTRAINTS clause to ALTER TABLE statement in a way presented below (do not do it now!). ALTER TABLE PROJECT DROP (PNUM) CASCADE CONSTRAINTS; Step 7 How to drop a referential integrity constraint? In the next two actions we shall temporarily drop and recreate a referential integrity constraint. Assume, that we would like to assign a project number 777 to MI6 department. However, at the moment we do not have full information about the project, for example we do not know what are the values of compulsory attributes STARTD and ENDD. Hence we are unable to insert description of project 777 into a relational table PROJECT. To assign a project 777 to a new department MI6 without the insertion of the project into PROJECT table is impossible due to a referential integrity constraint. If we execute a statement INSERT INTO DEPARTMENT VALUES( MI6, 999, J. Bond, 777 ); then the system rejects the insertion with the following message. ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails ( csit115. DEPARTMENT, CONSTRAINT DEPARTMENT_FKEY FOREIGN KEY ( PNUM ) REFERENCES PROJECT ( PNUM )) One of the solutions is to drop for a certain period of time a referential integrity constraint set up in step 3. In the nearest future, we will add a description of project 777 to PROJECT table and then we shall re-create DEPART- MENT_FKEY constraint. This step drops a referential integrity constraint DEPARTMENT_FKEY. SQL script refdrop.sql ( ~jrg/115/howto/refdrop.sql) contains the following ALTER TABLE statement. 5

6 ALTER TABLE DEPARTMENT DROP FOREIGN KEY DEPARTMENT_FKEY; Execute the script to drop a referential integrity constraint DEPARTMENT_FKEY. To verify whether a referential integrity constraint has been drop execute the following statement. SELECT CONSTRAINT_NAME, TABLE_SCHEMA, TABLE_NAME, CONSTRAINT_TYPE FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE TABLE_SCHEMA = csit115 ; Now it is possible to insert a row INSERT INTO DEPARTMENT VALUES( MI6, 999, J. Bond, 777 ); into a relational table DEPARTMENT first and a row INSERT INTO PROJECT VALUES(777, , , ); into a relational table PROJECT later on. To restore a referential integrity constraint execute a script refcreate.sql ( refcreate.sql) Step 8 How to add a row whout dropping a referential integrity constraint It is possible to insert a row into a relatiopnal table DEPARTMENT without dropping a referential integrity constraint. It is a better solution because we do not create an opportunity for corruption of a database. A quite simple solution is to set a value of attribute PNUM to NULL because a value of a foreign key can be missing (NULL). Execute the following INSERT statement. INSERT INTO DEPARTMENT( MAGIC, 666, H. Potter, NULL); Step 9 How to delete a row referenced by a value of foreign key? Assume that we would like to delete the only location in CHICAGO. A simple DELETE statement DELETE FROM DEPTLOC WHERE CITY = CHICAGO AND STREET = 34 AND BLDG = 1 AND BLEVEL = 90; included in a script delchicago.sql ( unfortunately returns the following error. ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails ( csit115. EMPLOYEE, CONSTRAINT EMPLOYEE_FKEY2 FOREIGN KEY ( DNAME, CITY, STREET, BLDG, BLEVEL ) REFERENCES DEPTLOC ( DNAME, CITY, STREET, BLDG, BLEVEL )) This is because there exists an employee in the location and a value of foreign key in a table EMPLOYEE looses the respective value of primary key in a relational table DEPTLOC. 6

7 To solve the problem we have to first replace the values of a foreign key in a relational table EMPLOYEE with NULLs and next delete a row from a relational table DEPTLOC A script file nullchicago.sql ( contains the following UPDATE statement that sets to NULL the values of attributes DNAME, CITY, STREET, BLDG, and BLEVEL in a row of employee number In the future we shall use more advanced UPDATE statement that finds the numbers of all employees in CHICAGO as a the results of SELECT statement. Execute a script nullchicago.sql ( Next, execute a script delchicago.sql ( Step 10 How to update a value of primary key? Assume that we would like to move the only location in PARIS from a level 34 to a level 99. A simple UPDATE statement UPDATE DEPTLOC SET BLEVEL = 99 WHERE CITY = PARIS AND STREET = 19 AND BLDG = 77 AND BLEVEL = 34; included in a script updparis.sql ( unfortunately returns the following error. ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails ( csit115. EMPLOYEE, CONSTRAINT EMPLOYEE_FKEY2 FOREIGN KEY ( DNAME, CITY, STREET, BLDG, BLEVEL ) REFERENCES DEPTLOC ( DNAME, CITY, STREET, BLDG, BLEVEL )) This is because there exists an employee in the location and a value of foreign key in a table EMPLOYEE looses the respective value of primary key in a relational table DEPTLOC. To solve the problem we have to first replace value of attribute BLEVEL of a foreign key in a relational table EM- PLOYEE with NULL, update a row in a relational table DEPTLOC, and finally set the respective value of an attribute BLEVEL in a foreign key earlier chnaged to NULL. A script file nullparis.sql ( contains the following UP- DATE statement that sets to NULL the values of attribute BLEVEL in a row of employee number In the future we shall use more advanced UPDATE statement that finds the numbers of all employees in CHICAGO as a the results of SELECT statement. Execute a script nullparis.sql ( Next, execute a script updparis.sql ( Finally, execute a script setparis.sql ( to set appropiate value of an attribute BLEVEL in a relational table EMPLOYEE. References MySQL 5.7 Reference Manual, ALTER TABLE statement ( MySQL 5.7 Reference Manual, CREATE TABLE statement ( 7

8 MySQL 5.7 Reference Manual, DELETE statement ( MySQL 5.7 Reference Manual, DROP TABLE statement ( MySQL 5.7 Reference Manual, INSERT statement ( MySQL 5.7 Reference Manual, SELECT statement ( MySQL 5.7 Reference Manual, UPDATE statement ( 8

Step 0 How to begin and what you need to do before you start?

Step 0 How to begin and what you need to do before you start? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

Step 0 How to begin and what you need to do before you start?

Step 0 How to begin and what you need to do before you start? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

Step 0 How to begin and what you need to do before you start?

Step 0 How to begin and what you need to do before you start? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

Step 0 How to install VirtualBox on Windows operating system?

Step 0 How to install VirtualBox on Windows operating system? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

Step 0 How to begin and what you need to do before you start?

Step 0 How to begin and what you need to do before you start? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

Step 0 How to begin and what you need to do before you start?

Step 0 How to begin and what you need to do before you start? Written and cooked by Janusz R. Getta, School of Computing and Information Technology, University of Wollongong Building 3, room 2120, ext 4339, jrg@uow.edu.au, http://www.uow.edu.au/ jrg ËÁ̽½ Ø Å Ò Ñ

More information

CSIT115/CSIT815 Data Management and Security Assignment 2

CSIT115/CSIT815 Data Management and Security Assignment 2 School of Computing and Information Technology Session: Autumn 2016 University of Wollongong Lecturer: Janusz R. Getta CSIT115/CSIT815 Data Management and Security Assignment 2 Scope This assignment consists

More information

CHAPTER4 CONSTRAINTS

CHAPTER4 CONSTRAINTS CHAPTER4 CONSTRAINTS LEARNING OBJECTIVES After completing this chapter, you should be able to do the following: Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN KEY,

More information

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 IS220 : Database Fundamentals College of Computer and Information Sciences - Information Systems Dept. Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Ref. Chapter6 Prepared by L.

More information

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Ref. Chapter6 Prepared by L. Nouf Almujally & Aisha AlArfaj& L.Fatima Alhayan Colleg Comp Informa Scien Informa Syst D 1 IS220 : Database

More information

Data Definition Language (DDL)

Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 6 Data Definition Language (DDL) Eng. Mohammed Alokshiya November 11, 2014 Database Keys A key

More information

A <column constraint> is a constraint that applies to a single column.

A <column constraint> is a constraint that applies to a single column. Lab 7 Aim: Creating Simple tables in SQL Basic Syntax for create table command is given below: CREATE TABLE ( [DEFAULT ] [], {

More information

School of Computing and Information Technology. Examination Paper Autumn 2016

School of Computing and Information Technology. Examination Paper Autumn 2016 School of Computing and Information Technology CSIT115 Data Management and Security Wollongong Campus Student to complete: Family name Other names Student number Table number Examination Paper Autumn 2016

More information

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-3 Roadmap You are here Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control

More information

The appendix contains information about the Classic Models database. Place your answers on the examination paper and any additional paper used.

The appendix contains information about the Classic Models database. Place your answers on the examination paper and any additional paper used. Name: Student Number: Instructions: Do all 9 questions. There is a total of 87 marks. The appendix contains information about the Classic Models database. Place your answers on the examination paper and

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

School of Computing and Information Technology. Examination Paper Autumn Session 2017

School of Computing and Information Technology. Examination Paper Autumn Session 2017 School of Computing and Information Technology CSIT115 Data Management and Security Wollongong Campus Student to complete: Family name Other names Student number Table number Examination Paper Autumn Session

More information

Indexes (continued) Customer table with record numbers. Source: Concepts of Database Management

Indexes (continued) Customer table with record numbers. Source: Concepts of Database Management 12 Advanced Topics Objectives Use indexes to improve database performance Examine the security features of a DBMS Discuss entity, referential, and legal-values integrity Make changes to the structure of

More information

Data Modelling and Databases. Exercise Session 7: Integrity Constraints

Data Modelling and Databases. Exercise Session 7: Integrity Constraints Data Modelling and Databases Exercise Session 7: Integrity Constraints 1 Database Design Textual Description Complete Design ER Diagram Relational Schema Conceptual Modeling Logical Modeling Physical Modeling

More information

Creating Tables, Defining Constraints. Rose-Hulman Institute of Technology Curt Clifton

Creating Tables, Defining Constraints. Rose-Hulman Institute of Technology Curt Clifton Creating Tables, Defining Constraints Rose-Hulman Institute of Technology Curt Clifton Outline Data Types Creating and Altering Tables Constraints Primary and Foreign Key Constraints Row and Tuple Checks

More information

SQL Server. Lecture3 Cascading referential integrity constraint

SQL Server. Lecture3 Cascading referential integrity constraint SQL Server Lecture3 Cascading referential integrity constraint insert into tblperson values (4,'May','Ma@m.com',4) Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the FOREIGN KEY

More information

EGCI 321: Database Systems. Dr. Tanasanee Phienthrakul

EGCI 321: Database Systems. Dr. Tanasanee Phienthrakul 1 EGCI 321: Database Systems Dr. Tanasanee Phienthrakul 2 Chapter 10 Data Definition Language (DDL) 3 Basic SQL SQL language Considered one of the major reasons for the commercial success of relational

More information

D B M G. SQL language: basics. Managing tables. Creating a table Modifying table structure Deleting a table The data dictionary Data integrity

D B M G. SQL language: basics. Managing tables. Creating a table Modifying table structure Deleting a table The data dictionary Data integrity SQL language: basics Creating a table Modifying table structure Deleting a table The data dictionary Data integrity 2013 Politecnico di Torino 1 Creating a table Creating a table (1/3) The following SQL

More information

Comp 5311 Database Management Systems. 4b. Structured Query Language 3

Comp 5311 Database Management Systems. 4b. Structured Query Language 3 Comp 5311 Database Management Systems 4b. Structured Query Language 3 1 SQL as Data Definition Language Creates the Students relation. The type (domain) of each field is specified, and enforced by the

More information

Eessaar, E. "On Query-based Search of Possible Design Flaws of SQL Databases" Introduction Queries that are used to detect design flaws...

Eessaar, E. On Query-based Search of Possible Design Flaws of SQL Databases Introduction Queries that are used to detect design flaws... Table of Contents Introduction... 1 1 Queries that are used to detect design flaws... 2 Pattern: Format Comma-Separated Lists... 3 Pattern: Always Depend on One s Parent... 4 Pattern: One Size Fits All...

More information

School of Computing and Information Technology Session: Spring CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018

School of Computing and Information Technology Session: Spring CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018 School of Computing and Information Technology Session: Spring 2018 University of Wollongong Lecturer: Janusz R. Getta CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018 THE QUESTIONS

More information

Using DDL Statements to Create and Manage Tables. Copyright 2006, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2006, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Objectives After completing this lesson, you should be able to do the following: Categorize the main database objects Review the table structure List the

More information

Conceptual Design. The Entity-Relationship (ER) Model

Conceptual Design. The Entity-Relationship (ER) Model Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Database Design Overview Conceptual design The Entity-Relationship

More information

Lecture 07. Spring 2018 Borough of Manhattan Community College

Lecture 07. Spring 2018 Borough of Manhattan Community College Lecture 07 Spring 2018 Borough of Manhattan Community College 1 SQL Identifiers SQL identifiers are used to identify objects in the database, such as table names, view names, and columns. The ISO standard

More information

Database Programming - Section 10. Instructor Guide

Database Programming - Section 10. Instructor Guide Database Programming - Section 10 Instructor Guide Table of Contents...1 Lesson 1 - Defining NOT NULL and UNIQUE Constraints...1 What Will I Learn?...2 Why Learn It?...3...4 Try It / Solve It...13 Lesson

More information

Oracle Create Table Foreign Key On Delete No

Oracle Create Table Foreign Key On Delete No Oracle Create Table Foreign Key On Delete No Action Can I create a foreign key against only part of a composite primary key? For example, if you delete a row from the ProductSubcategory table, it could

More information

COSC 304 Introduction to Database Systems SQL DDL. Dr. Ramon Lawrence University of British Columbia Okanagan

COSC 304 Introduction to Database Systems SQL DDL. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 304 Introduction to Database Systems SQL DDL Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca SQL Overview Structured Query Language or SQL is the standard query language

More information

CS2300: File Structures and Introduction to Database Systems

CS2300: File Structures and Introduction to Database Systems CS2300: File Structures and Introduction to Database Systems Lecture 14: SQL Doug McGeehan From Theory to Practice The Entity-Relationship Model: a convenient way of representing the world. The Relational

More information

Referential integrity

Referential integrity Referential integrity Another function of the DBMS is to ensure referential integrity. This refers to the concept that a foreign key in a relation must have a corresponding entry in the table to which

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

MTAT Introduction to Databases

MTAT Introduction to Databases MTAT.03.105 Introduction to Databases Lecture #6 Constraints Ljubov Jaanuska (ljubov.jaanuska@ut.ee) Lecture 5. Summary E-R model according to Crow s Foot notation Model normalization Lecture 2-3. What

More information

3ISY402 DATABASE SYSTEMS

3ISY402 DATABASE SYSTEMS 3ISY402 DATABASE SYSTEMS - SQL: Data Definition 1 Leena Gulabivala Material from essential text: T CONNOLLY & C BEGG. Database Systems A Practical Approach to Design, Implementation and Management, 4th

More information

DATA CONSTRAINT. Prepared By: Dr. Vipul Vekariya

DATA CONSTRAINT. Prepared By: Dr. Vipul Vekariya DATA CONSTRAINT Prepared By: Dr. Vipul Vekariya What is constraint? Constraints enforce rules at the table level. Constraints prevent the deletion of a table if there are dependencies. There are two types

More information

Where Are We? Next Few Lectures. Integrity Constraints Motivation. Constraints in E/R Diagrams. Keys in E/R Diagrams

Where Are We? Next Few Lectures. Integrity Constraints Motivation. Constraints in E/R Diagrams. Keys in E/R Diagrams Where Are We? Introduction to Data Management CSE 344 Lecture 15: Constraints We know quite a bit about using a DBMS Start with real-world problem, design ER diagram From ER diagram to relations -> conceptual

More information

Practice questions recommended before the final examination

Practice questions recommended before the final examination CSCI235 Database Systems, Spring 2017 Practice questions recommended before the final examination Conceptual modelling Task 1 Read the following specification of a sample database domain. A construction

More information

DATABASE TECHNOLOGY - 1MB025 (also 1DL029, 1DL300+1DL400)

DATABASE TECHNOLOGY - 1MB025 (also 1DL029, 1DL300+1DL400) 1 DATABASE TECHNOLOGY - 1MB025 (also 1DL029, 1DL300+1DL400) Spring 2008 An introductury course on database systems http://user.it.uu.se/~udbl/dbt-vt2008/ alt. http://www.it.uu.se/edu/course/homepage/dbastekn/vt08/

More information

DATABASE DESIGN - 1DL400

DATABASE DESIGN - 1DL400 DATABASE DESIGN - 1DL400 Spring 2014 2014-01-21 A course on modern database systems http://www.it.uu.se/research/group/udbl/kurser/dbii_vt14/integrity.pdf Tore Risch Uppsala Database Laboratory Department

More information

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 005-002 Title : Certified MySQL 5.0 DBA Part I Version : Demo 1 / 10 1. Will the following SELECT query

More information

DATABASE DESIGN - 1DL400

DATABASE DESIGN - 1DL400 DATABASE DESIGN - 1DL400 Spring 2012 A course on modern database systems http://www.it.uu.se/edu/course/homepage/dbastekn2/vt12/ Tore Risch Uppsala Database Laboratory Department of Information Technology,

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

Chapter 17: Table & Integrity Contraints. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh

Chapter 17: Table & Integrity Contraints. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh Chapter 17: Table & Integrity Contraints Informatics Practices Class XII By- Rajesh Kumar Mishra PGT (Comp.Sc.) KV No.1, AFS, Suratgarh e-mail : rkmalld@gmail.com Integrity Constraints One of the major

More information

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 5 Structured Query Language Hello and greetings. In the ongoing

More information

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model Jeffrey M. Stander ANZUS Technology International Presented at ODTUG 1996 Meeting OBJECTIVES To design and implement a methodology

More information

Logical database design

Logical database design Databases 2013 2014/Ia Homework 2 Due date: September 27, 2013 Logical database design This homework consists of two parts. In the first part of this homework, we will go through some of the design decisions

More information

Full file at

Full file at SQL for SQL Server 1 True/False Questions Chapter 2 Creating Tables and Indexes 1. In order to create a table, three pieces of information must be determined: (1) the table name, (2) the column names,

More information

CSCI235/CSCI835 Database Systems Assignment 1 5 August 2018

CSCI235/CSCI835 Database Systems Assignment 1 5 August 2018 School of Computing and Information Technology Session: Spring 2018 University of Wollongong Lecturer: Janusz R. Getta CSCI235/CSCI835 Database Systems Assignment 1 5 August 2018 Scope This assignment

More information

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts Relational Data Structure and Concepts Structured Query Language (Part 1) Two-dimensional tables whose attributes values are atomic. At every row-and-column position within the table, there always exists

More information

SQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Relational Databases Fall 2017 Lecture 7

SQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Relational Databases Fall 2017 Lecture 7 SQL DATA DEFINITION: KEY CONSTRAINTS CS121: Relational Databases Fall 2017 Lecture 7 Data Definition 2 Covered most of SQL data manipulation operations Continue exploration of SQL data definition features

More information

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E)

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 1 DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 2 LECTURE OUTLINE Updating Databases Using SQL Specifying Constraints as Assertions and Actions as Triggers Schema Change Statements in

More information

LABSHEET 1: creating a table, primary keys and data types

LABSHEET 1: creating a table, primary keys and data types LABSHEET 1: creating a table, primary keys and data types Before you begin, you may want to take a look at the following links to remind yourself of the basics of MySQL and the SQL language. MySQL 5.7

More information

Basic SQL. Basic SQL. Basic SQL

Basic SQL. Basic SQL. Basic SQL Basic SQL Dr Fawaz Alarfaj Al Imam Mohammed Ibn Saud Islamic University ACKNOWLEDGEMENT Slides are adopted from: Elmasri & Navathe, Fundamentals of Database Systems MySQL Documentation Basic SQL Structured

More information

SQL Introduction. CS 377: Database Systems

SQL Introduction. CS 377: Database Systems SQL Introduction CS 377: Database Systems Recap: Last Two Weeks Requirement analysis Conceptual design Logical design Physical dependence Requirement specification Conceptual data model (ER Model) Representation

More information

3.1. Keys: Super Key, Candidate Key, Primary Key, Alternate Key, Foreign Key

3.1. Keys: Super Key, Candidate Key, Primary Key, Alternate Key, Foreign Key Unit 3: Types of Keys & Data Integrity 3.1. Keys: Super Key, Candidate Key, Primary Key, Alternate Key, Foreign Key Different Types of SQL Keys A key is a single or combination of multiple fields in a

More information

5 Integrity Constraints and Triggers

5 Integrity Constraints and Triggers 5 Integrity Constraints and Triggers 5.1 Integrity Constraints In Section 1 we have discussed three types of integrity constraints: not null constraints, primary keys, and unique constraints. In this section

More information

AN ALGORITHM FOR MAPPING THE RELATIONAL DATABASES TO MONGODB A CASE STUDY

AN ALGORITHM FOR MAPPING THE RELATIONAL DATABASES TO MONGODB A CASE STUDY International Journal of Computer Science and Applications, Technomathematics Research Foundation Vol. 14, No. 1, pp. 65 79, 2017 AN ALGORITHM FOR MAPPING THE RELATIONAL DATABASES TO MONGODB A CASE STUDY

More information

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Basic SQL Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries

More information

3.2.4 Enforcing constraints

3.2.4 Enforcing constraints 3.2.4 Enforcing constraints Constraints SQL definition of the schema Up to now: primary Key, foreign key, NOT NULL Different kinds of integrity constraints value constraints on attributes cardinalities

More information

COSC Assignment 2

COSC Assignment 2 COSC 344 Overview In this assignment, you will turn your miniworld into a set of Oracle tables, normalize your design, and populate your database. Due date for assignment 2 Friday, 25 August 2017 at 4

More information

SQL DATA DEFINITION LANGUAGE

SQL DATA DEFINITION LANGUAGE 9/27/16 DATABASE SCHEMAS IN SQL SQL DATA DEFINITION LANGUAGE SQL is primarily a query language, for getting information from a database. SFWR ENG 3DB3 FALL 2016 But SQL also includes a data-definition

More information

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects ASSIGNMENT NO 2 Title: Design and Develop SQL DDL statements which demonstrate the use of SQL objects such as Table, View, Index, Sequence, Synonym Objectives: To understand and demonstrate DDL statements

More information

CSCU9Q5 Introduction to MySQL. Data Definition & Manipulation (Over ~two Lectures)

CSCU9Q5 Introduction to MySQL. Data Definition & Manipulation (Over ~two Lectures) CSCU9Q5 Introduction to MySQL Data Definition & Manipulation (Over ~two Lectures) 1 Contents Introduction to MySQL Create a table Specify keys and relations Empty and Drop tables 2 Introduction SQL is

More information

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH Private Institute of Aga 2018 NETWORK DATABASE LECTURER NIYAZ M. SALIH Data Definition Language (DDL): String data Types: Data Types CHAR(size) NCHAR(size) VARCHAR2(size) Description A fixed-length character

More information

Data Modeling. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke

Data Modeling. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke Data Modeling Yanlei Diao UMass Amherst Slides Courtesy of R. Ramakrishnan and J. Gehrke 1 Outline v Conceptual Design: ER Model v Relational Model v Logical Design: from ER to Relational 2 Conceptual

More information

Drop Table If Exists Sql Command Not Properly Ended

Drop Table If Exists Sql Command Not Properly Ended Drop Table If Exists Sql Command Not Properly Ended Wait, this does not work! SQL_ drop table if exists t, drop table if exists t * ERROR at line 1: ORA-00933: SQL command not properly ended. Okay. It

More information

Translation of ER-diagram into Relational Schema. Dr. Sunnie S. Chung CIS430/530

Translation of ER-diagram into Relational Schema. Dr. Sunnie S. Chung CIS430/530 Translation of ER-diagram into Relational Schema Dr. Sunnie S. Chung CIS430/530 Learning Objectives Define each of the following database terms 9.2 Relation Primary key Foreign key Referential integrity

More information

Programming the Database

Programming the Database Programming the Database Today s Lecture 1. Stored Procedures 2. Functions BBM471 Database Management Systems Dr. Fuat Akal akal@hacettepe.edu.tr 3. Cursors 4. Triggers 5. Dynamic SQL 2 Stored Procedures

More information

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1 SQL Fundamentals Chapter 3 Class 03: SQL Fundamentals 1 Class 03: SQL Fundamentals 2 SQL SQL (Structured Query Language): A language that is used in relational databases to build and query tables. Earlier

More information

Concepts of Database Management Seventh Edition. Chapter 4 The Relational Model 3: Advanced Topics

Concepts of Database Management Seventh Edition. Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition Chapter 4 The Relational Model 3: Advanced Topics Views View: application program s or individual user s picture of the database Less involved than full

More information

Downloaded from

Downloaded from Lesson 16: Table and Integrity Constraints Integrity Constraints are the rules that a database must follow at all times. Various Integrity constraints are as follows:- 1. Not Null: It ensures that we cannot

More information

Integrity constraints, relationships. CS634 Lecture 2

Integrity constraints, relationships. CS634 Lecture 2 Integrity constraints, relationships CS634 Lecture 2 Foreign Keys Defined in Sec. 3.2.2 without mentioning nulls. Nulls covered in Sec. 5.6 First example: nice not-null foreign key column: create table

More information

4 Schema Definition with SQL / DDL (II)

4 Schema Definition with SQL / DDL (II) 4 Schema Definition with SQL / DDL (II) 4.3 SQL/DDL Constraints 4.3.1 Attribute and simple table constraints 4.3.2 Enforcing cardinality constraints and foreign keys 4.3.3 Deferred constraints 4.3.4 Assertions

More information

SQL: Data Definition Language

SQL: Data Definition Language SQL: Data Definition Language CSC 343 Winter 2018 MICHAEL LIUT (MICHAEL.LIUT@UTORONTO.CA) DEPARTMENT OF MATHEMATICAL AND COMPUTATIONAL SCIENCES UNIVERSITY OF TORONTO MISSISSAUGA Database Schemas in SQL

More information

School of Computing and Information Technology Session: Spring CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018

School of Computing and Information Technology Session: Spring CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018 School of Computing and Information Technology Session: Spring 2018 University of Wollongong Lecturer: Janusz R. Getta CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018 THE QUESTIONS

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

BI4Dynamics AX/NAV Integrate external data sources

BI4Dynamics AX/NAV Integrate external data sources BI4Dynamics AX/NAV Last update: November 2018 Version: 2.1 Abbreviation used in this document: EDS: External Data Source(s) are data that are not a part of Microsoft Dynamics AX/NAV. It can come from any

More information

ISYS1055/1057 Database Concepts Week 9: Tute/Lab SQL Programming

ISYS1055/1057 Database Concepts Week 9: Tute/Lab SQL Programming Go to Database à Add Database and assign a suitable name (say New Movies) to the new database you are about to create. School of Science/ Computer Science and Information Technology ISYS1055/1057 Database

More information

ACCESS isn t only a great development tool it s

ACCESS isn t only a great development tool it s Upsizing Access to Oracle Smart Access 2000 George Esser In addition to showing you how to convert your Access prototypes into Oracle systems, George Esser shows how your Access skills translate into Oracle.

More information

Logical Database Design. ICT285 Databases: Topic 06

Logical Database Design. ICT285 Databases: Topic 06 Logical Database Design ICT285 Databases: Topic 06 1. What is Logical Database Design? Why bother? Bad logical database design results in bad physical database design, and generally results in poor database

More information

Microsoft MOS- Using Microsoft Office Access Download Full Version :

Microsoft MOS- Using Microsoft Office Access Download Full Version : Microsoft 77-605 MOS- Using Microsoft Office Access 2007 Download Full Version : http://killexams.com/pass4sure/exam-detail/77-605 QUESTION: 120 Peter works as a Database Designer for AccessSoft Inc. The

More information

Difficult I.Q on Databases, asked to SCTPL level 2 students 2015

Difficult I.Q on Databases, asked to SCTPL level 2 students 2015 Do you know the basic memory structures associated with any Oracle Database. (W.r.t 10g / 11g / 12c)? The basic memory structures associated with Oracle Database include: System Global Area (SGA) The SGA

More information

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 SQL: Data De ni on Mar n Svoboda mar n.svoboda@fel.cvut.cz 13. 3. 2018 Czech Technical University

More information

Domain Constraints Referential Integrity Assertions Triggers. Authorization Authorization in SQL

Domain Constraints Referential Integrity Assertions Triggers. Authorization Authorization in SQL Chapter 6: Integrity and Security Domain Constraints Referential Integrity Assertions Triggers Security Authorization Authorization in SQL 6.1 Domain Constraints Integrity constraints guard against accidental

More information

Chapter 11 How to create databases, tables, and indexes

Chapter 11 How to create databases, tables, and indexes Chapter 11 How to create databases, tables, and indexes Murach's MySQL, C11 2015, Mike Murach & Associates, Inc. Slide 1 Objectives Applied Given the design for a database, write the DDL statements to

More information

Announcements (September 18) SQL: Part II. Solution 1. Incomplete information. Solution 3? Solution 2. Homework #1 due today (11:59pm)

Announcements (September 18) SQL: Part II. Solution 1. Incomplete information. Solution 3? Solution 2. Homework #1 due today (11:59pm) Announcements (September 18) 2 SQL: Part II Homework #1 due today (11:59pm) Submit in class, slide underneath my office door Sample solution available Thursday Homework #2 assigned today CPS 116 Introduction

More information

Solved MCQ on fundamental of DBMS. Set-1

Solved MCQ on fundamental of DBMS. Set-1 Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field

More information

Intermediate SQL ( )

Intermediate SQL ( ) CSL 451 Introduction to Database Systems Intermediate SQL (4.1-4.4) Department of Computer Science and Engineering Indian Institute of Technology Ropar Narayanan (CK) Chatapuram Krishnan! Summary Join

More information

How to design a database

How to design a database Chapter 16 How to design a database A database system is modeled after a real-word system 2017, Mike Murach & Associates, Inc. C 16, Slide 1 2017, Mike Murach & Associates, Inc. C 16, Slide 4 Objectives

More information

SQL Data Definition and Data Manipulation Languages (DDL and DML)

SQL Data Definition and Data Manipulation Languages (DDL and DML) .. Cal Poly CPE/CSC 365: Introduction to Database Systems Alexander Dekhtyar.. SQL Data Definition and Data Manipulation Languages (DDL and DML) Note: This handout instroduces both the ANSI SQL synatax

More information

Introduction to Data Management CSE 344

Introduction to Data Management CSE 344 Introduction to Data Management CSE 344 Lecture 16: Constraints CSE 344 - Fall 2014 1 Announcements Sections tomorrow: XML. Quiz and next HW on XML posted soon, due next week after midterm HW 4 due tomorrow

More information

Lecture 5. Monday, September 15, 2014

Lecture 5. Monday, September 15, 2014 Lecture 5 Monday, September 15, 2014 The MySQL Command So far, we ve learned some parts of the MySQL command: mysql [database] [-u username] p [-- local-infile]! Now let s go further 1 mysqldump mysqldump

More information

SQL STRUCTURED QUERY LANGUAGE

SQL STRUCTURED QUERY LANGUAGE STRUCTURED QUERY LANGUAGE SQL Structured Query Language 4.1 Introduction Originally, SQL was called SEQUEL (for Structured English QUery Language) and implemented at IBM Research as the interface for an

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design

More information

Parameterizing an iway Data Quality Server SQL Statement From an Input File or the Command Line

Parameterizing an iway Data Quality Server SQL Statement From an Input File or the Command Line Parameterizing an iway Data Quality Server SQL Statement From an Input File or the Command Line This topic describes how to parameterize an iway Data Quality Server (DQS) SQL statement from an input file

More information

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 2 Data Definition Language (DDL) Eng. Alaa O Shama October, 2015 Objective To be familiar

More information