IT Faculty Software Engineering Seniors UML for a simple DataBase Management System Prepared by: أنس الأسود بشير الفروان زهير الزعبي ياسر المحمد.

Slides:



Advertisements
Similar presentations
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Advertisements

What is a Database By: Cristian Dubon.
Introduction to Structured Query Language (SQL)
Introduction to Structured Query Language (SQL)
1 Relational Model. 2 Relational Database: Definitions  Relational database: a set of relations  Relation: made up of 2 parts: – Instance : a table,
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
A Guide to MySQL 7. 2 Objectives Understand, define, and drop views Recognize the benefits of using views Use a view to update data Grant and revoke users’
Introduction to Structured Query Language (SQL)
Attribute databases. GIS Definition Diagram Output Query Results.
A Guide to SQL, Seventh Edition. Objectives Understand, create, and drop views Recognize the benefits of using views Grant and revoke user’s database.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall Nirav Merchant Bio Computing & iPlant Collaborative Eric Lyons.
MS Access: Database Concepts Instructor: Vicki Weidler.
Overview What is SQL Server? Creating databases Administration Security Backup.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Database Lecture # 1 By Ubaid Ullah.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
ASP.NET Programming with C# and SQL Server First Edition
® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – Jon Sayles, IBM/Rational November, 2012.
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Database Technical Session By: Prof. Adarsh Patel.
Database Programming Sections 13–Creating, revoking objects privileges.
Chapter 15: Using LINQ to Access Data in C# Programs.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
SQL Server 7.0 Maintaining Referential Integrity.
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
1 Database Administration. 2 Objectives  Understand, create, and drop views  Grant and revoke users’ privileges  Understand and obtain information.
More about Databases. Data Entry through Forms Table View (Data sheet view) is useful for data entry of new records But sometimes customization would.
FALL 2004CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
1 Chapter 6 Database Administration. 2 Introduction Database administration The process of managing a database Database administrator A person or an entire.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Chapter 9 Constraints. Chapter Objectives  Explain the purpose of constraints in a table  Distinguish among PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK,
Oracle 11g: SQL Chapter 4 Constraints.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 (Part II) INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor.
PowerBuilder Online Courses - by Prasad Bodepudi Database Painter Primary & Foreign Keys Extended Attributes PowerBuilder System Tables Database Profiles.
Chapter 13 Views Oracle 10g: SQL. Oracle 10g: SQL2 Objectives Create a view, using CREATE VIEW command or the CREATE OR REPLACE VIEW command Employ the.
Chapter 5 : Integrity And Security  Domain Constraints  Referential Integrity  Security  Triggers  Authorization  Authorization in SQL  Views 
Transactions, Roles & Privileges Oracle and ANSI Standard SQL Lecture 11.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
Creating Indexes on Tables An index provides quick access to data in a table, based on the values in specified columns. A table can have more than one.
Relational Database Management System(RDBMS) Structured Query Language(SQL)
Chapter 3: Relational Databases
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
SQL Basics Review Reviewing what we’ve learned so far…….
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
Getting started with Accurately Storing Data
Database Access with SQL
Permissions to database objects Indexes RUNSQLSTM Referential Constraint options ON DELETE RESTRICT ON DELETE CASCADE ON DELETE SET DEFAULT Lab.
Applied CyberInfrastructure Concepts Fall 2017
Introduction What is a Database?.
Teaching slides Chapter 8.
Contents Preface I Introduction Lesson Objectives I-2
Database SQL.
Permissions to database objects Indexes RUNSQLSTM Referential Constraint options ON DELETE RESTRICT ON DELETE CASCADE ON DELETE SET DEFAULT Lab.
Presentation transcript:

IT Faculty Software Engineering Seniors UML for a simple DataBase Management System Prepared by: أنس الأسود بشير الفروان زهير الزعبي ياسر المحمد

Tips: Who interacts with our system: - we’ll consider an administrator who manages the system itself, he can also create users and define their authority can also create users and define their authority - a user who uses the database, query, modify items… The NEW Functionality allows the user for multiple choices like: The NEW Functionality allows the user for multiple choices like: - new DataBase: creates an empty database - new table: creates a table in the current selected database - new Column: creates a column in the current selected table…. after defining a new column a user can define it’s constraints, like: after defining a new column a user can define it’s constraints, like: primary key, foreign key… if a user defined a primary key: after saving we can create an index by default for it we my allow checking referencing table and referencing column in foreign key definition

We could also make a new: We could also make a new: View, row, user, index, stored procedure… View, row, user, index, stored procedure… We assume these functions are achieved through an invocation for a data designer UI. We assume these functions are achieved through an invocation for a data designer UI. Any new command accompanies with checking the user authority i.e. : Any new command accompanies with checking the user authority i.e. : Not all users can make a new database Not all users can make a new database Some users can create tables, indexes, but others can’t Some users can create tables, indexes, but others can’t In general: the Administrator creates users and define their privileges In general: the Administrator creates users and define their privileges One who create a table considered to be the table owner One who create a table considered to be the table owner And he’s the one who defines who can access it and how. Users can create other users if they have the authority

Saving completes the creation, it can consist of: Saving completes the creation, it can consist of: checking duplicate items checking duplicate items updating data files if everything is ok updating data files if everything is ok updating metadata if structure changed updating metadata if structure changed report errors if any exists and redoing changes if necessary. report errors if any exists and redoing changes if necessary. We assume there is a query system inside the data base: Adding, deleting, modifying can be done using a UI but anyway it’s Executed Through the query system which also give the user the ability to retrieve info The diagrams are not relative to a specific database management system Now we’ll present the Use Cases: I

This is a simple use case We considered the manage system use case As a set of operation an administrator can do an no one else. When checking authority and it was denied it reports this Add, delete, modify runs it’s functionality through the query system The next pages contains more detailed use case.

We considered a query system which runs the real internal operations i.e.: We considered a query system which runs the real internal operations i.e.: When a user saves changes the system simply do a commit When a user saves changes the system simply do a commit When a user creates something the system simply builds an SQL commands, accumulate them, after saving it runs these commands internally. When a user creates something the system simply builds an SQL commands, accumulate them, after saving it runs these commands internally. Next we’ll present an introductory overview of the classes relative to our system as Notes: -We could consider an administrator is a special user( power user) so two kinds of users: ordinary and power users. -It is possible to make a DataBaseObject an ancestor for all objects(database, table, column, index….) with common attributes(like owner), this type is used mainly in generalized options like: authorities class