PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 1 Introduction to PL/SQL.

Slides:



Advertisements
Similar presentations
Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
Advertisements

SWE 316: Software Design and Architecture
Objectives In this session, you will learn to:
Technical Architectures
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Client/Server Architecture
Client/Server Database Environment CISB344 Database 2  At the end of this chapter, you should be able to: › Define client/server systems, file server,
Introduction to PL/SQL Chapter 9. Objectives Explain the need for PL/SQL Explain the benefits of PL/SQL Identify the different types of PL/SQL blocks.
Chapter 2 Database System Concepts and Architecture
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Web-based Software Development - An introduction.
Dale Roberts 1 Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Chapter 4 Cursors and Exception Handling Oracle10g Developer:
Benefits of PL/SQL. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –List and explain the benefits of PL/SQL –List.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
Objectives PL/SQL And Application Programming Application Models
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 2: Database System Concepts and Architecture - Outline Data Models and Their.
Chapter 2 Database System Architecture. An “architecture” for a database system. A specification of how it will work, what it will “look like.” The “ANSI/SPARC”
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Simple Database.
I Copyright © Oracle Corporation, All rights reserved. Introduction.
I Copyright © 2004, Oracle. All rights reserved. Introduction Copyright © 2004, Oracle. All rights reserved.
PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 2 Basic PL/SQL Block Structures.
11 Copyright س Oracle Corporation, All rights reserved. ® Overview of PL/SQL.
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 6 Functions.
PL/SQLPL/SQL Oracle11g : PL/SQL Programming Chapter 6 Functions.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
Stored Procedures. Definition a stored procedure is a set of Structured Query Language (SQL) statements with an assigned name that's stored in the database.
Client/Server Computing
Oracle11g: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
PL/SQLPL/SQL Oracle11g: PL/SQL Programming Chapter 10 Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code.
WEB SERVER SOFTWARE FEATURE SETS
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
Oracle9i Developer: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Chapter 2 Database Environment.
Oracle10g Developer: PL/SQL Programming1 Objectives Named program units How to identify parameters The CREATE PROCEDURE statement Creating a procedure.
SYSTEMSDESIGNANALYSIS 1 Chapter 21 Implementation Jerry Post Copyright © 1997.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
Introduction to Oracle Forms Developer and Oracle Forms Services
Web-based Software Development - An introduction
Oracle11g: PL/SQL Programming Chapter 5 Procedures.
Chapter 2 Database System Concepts and Architecture
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Introduction to Oracle Forms Developer and Oracle Forms Services
Chapter 10 Oracle11g: PL/SQL Programming Oracle-Supplied Packages,
Introduction to Oracle Forms Developer and Oracle Forms Services
MVC and other n-tier Architectures
Introduction to PL/SQL
The Client/Server Database Environment
Introduction to Databases Transparencies
Tiers vs. Layers.
MATERI PL/SQL Procedures Functions Packages Database Triggers
Procedures Oracle & MySQL
Handling Data in PL/SQL Blocks
Presentation transcript:

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 1 Introduction to PL/SQL

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming2 Chapter Objectives After completing this lesson, you should be able to understand: –PL/SQL and application programming –Application models –How documentation can be used –SQL and PL/SQL tools –The databases used in this book –SQL SELECT statement syntax

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming3 Procedural Languages Programming languages allow actions of the end user to be converted to computer instructions Procedural languages allow the inclusion of logic processes PL/SQL is a procedural language, SQL is not a procedural language

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming4 Application Programming Example application screen

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming5 Brewbean’s Application Processing needed to support the shopping cart check out button –Verify quantities are > 0 –Calculate shipping cost –Calculate taxes –Check/update product inventory –Check shopper profile for credit card information

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming6 The PL/SQL Language Proprietary Oracle language Tightly integrated with SQL Can increase performance by grouping statements into blocks of code Portable to any Oracle platform Used within many Oracle tools Stored program units can increase security

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming7 Application Models Three main components –User interface or screens –Program logic (brains behind the screens) –Database Most models are based on a two- or three-tier structure

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming8 Two-tier Model Commonly referred to as client/server Parts of the processing occur both on the user’s computer and the database server Named or stored program units are blocks of PL/SQL code saved in the Oracle database to provide server-side processing

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming9 Two-tier Diagram

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming10 Three-tier Model Thin client with no code loaded on the user machine (browser access) Middle tier is the application server – Forms server for Oracle Last tier is the database server Processing load is on the middle and last tier Maintenance is simplified

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming11 Three-tier Diagram

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming12 Oracle Documentation Oracle Technology Network (OTN): otn.oracle.com Doc directory on CDs distributed by Oracle

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming13 Software Used SQL*Plus – Oracle10g Other software introduced in appendices –Oracle SQL Developer –TOAD

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming14 SQL*Plus Client Interface

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming15 SQL*Plus Internet Interface Named iSQL*Plus

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming16 Third-party Tools TOAD Rapid SQL PL/SQL Developer SQL-Programmer PLEdit FROG

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming17 The Brewbean’s Company Retails coffee and brewing equipment via the Internet, phone, and stores Used in chapter explanations, examples, and exercises Databases create script provided for each chapter

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming18 ERD for Brewbean’s DB

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming19 More Movies ERD Movie rental company used in an ongoing case study

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming20 SQL Query Syntax SELECT FROM WHERE GROUP BY HAVING ORDER BY ;

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming21 Traditional Join

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming22 ANSI Join

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming23 Using Aggregate and WHERE

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming24 Creating Tables

PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming25 DML Statements