--Guillaume Couture coug1812. prompt question 1 prompt Select codeaeroport,novol,ville,nom,etat Aeroport,segmentdevol.

Size: px
Start display at page:

Download "--Guillaume Couture coug1812. prompt question 1 prompt Select codeaeroport,novol,ville,nom,etat Aeroport,segmentdevol."

Transcription

1 --Guillaume Couture coug1812 prompt question 1 prompt Select codeaeroport,novol,ville,nom,etat where Aeroport,segmentdevol etat = QC and (codeaeroport=codeaeroportdepart ) order by codeaeroport,novol; -- prompt question 2 prompt Select distinct codeaeroport,novol,ville,nom,etat Aeroport,segmentdevol where etat = QC and ( codeaeroport=codeaeroportdepart or codeaeroport=codeaeroportarrivee ) order by codeaeroport,novol; -- prompt question 3 prompt select novol,count (nosegment) "nb segments" segmentdevol group by novol; -- prompt question 4 prompt select novol,prix classevol c1 where prix >= all (select prix classevol c2 where c1.novol=c2.novol) order by novol; -- prompt question 5 prompt select v1.novol,count (seg1.nosegment) "nb segments" segmentdevol seg1,vol v1 where v1.novol = seg1.novol (+) group by v1.novol order by v1.novol; --

2 prompt question 6 prompt select a1.codeaeroport aeroport a1 left outer join segmentdevol seg1 on a1.codeaeroport=seg1.codeaeroportdepart group by a1.codeaeroport having count () <= 2 order by a1.codeaeroport; -- prompt question 7 prompt select a1.codeaeroport aeroport a1 left outer join segmentdevol seg1 on a1.codeaeroport=seg1.codeaeroportdepart or a1.codeaeroport=seg1.codeaeroportarrivee group by a1.codeaeroport having count (seg1.codeaeroportdepart)<= 2 and count (seg1.codeaeroportarrivee)<=2 order by a1.codeaeroport; -- prompt question 8 prompt select v1.novol, v1.typedevol vol v1 order by v1.novol having count (seg1.nosegment)>= all ( select count (seg2.nosegment) segmentdevol seg2 group by seg2.novol ) ; -- prompt question 9 prompt select a1.codeaeroport aeroport a1 left outer join segmentdevol seg1 on a1.codeaeroport=seg1.codeaeroportdepart or a1.codeaeroport=seg1.codeaeroportarrivee group by a1.codeaeroport having count (seg1.codeaeroportdepart)<=0 and count (seg1.codeaeroportarrivee)<=0 order by a1.codeaeroport; -- prompt question 10

3 prompt select v1.novol vol v1, classe c1 having c1.description = Affaires (select c1.description classe c1 where c1.description = Affaires ) group by novol ; -- prompt question 11 prompt drop view fabricant; create view tablefabriquant as select avion a1, vol v1 join avionvol av1 on av1.novol=v1.novol; select a1.nomodele "fabricant",count (v1.novol) "nbdevols" vol v1, avion a1 join avionvol av1 on av1.novol=v1.novol case when a1.nomodele in ( %Boing% ) then Boing and a1.nomodele in ( %Airbus% ) then Airbus and a1.nomodele not in ( %Boing% ) then Autres and a1.nomodele not in ( %Airbus% ) then Autres ; -- prompt question 12 prompt select cv1.novol classevol cv1 having count (cv1.novol)=4 group by cv1.novol; -- prompt question 13 prompt select codeaeroport where aeroport codeaeroport in ( select distinct codeaeroportdepart

4 segmentdevol union select distinct codeaeroportarrivee segmentdevol ) order by codeaeroport ; -- prompt question 14 prompt select codeaeroport aeroport where codeaeroport in (select codeaeroportarrivee, codeaeroportdepart segmentdevol) ; -- prompt question 15 prompt SQLPlus: Release Production on Fri Oct 3 16:34: Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release Production With the Partitioning, OLAP and Data Mining options début de test-tp2.sql PL/SQL procedure successfully completed.

5 PL/SQL procedure successfully completed. Création des tables et données drop table Aeroport cascade constraints Table created. drop table Vol cascade constraints Table created. drop table SegmentDeVol cascade constraints Table created. drop table Classe cascade constraints Table created. drop table ClasseVol cascade constraints

6 Table created. drop table Avion cascade constraints Table created. drop table AvionVol cascade constraints Table created. Insertion des données

7

8

9

10 Affichage des résultats de tp2.sql question 1 CODEAEROP NOVOL VILLE NOM ETAT YQB AC2003 Québec Jean-Lesage QC YUL AC2001 Montréal Trudeau QC YUL AC2002 Montréal Trudeau QC YUL AC2003 Montréal Trudeau QC YUL AC2007 Montréal Trudeau QC question 2 CODEAEROP NOVOL VILLE NOM ETAT YQB AC2003 Québec Jean-Lesage QC YUL AC2001 Montréal Trudeau QC YUL AC2002 Montréal Trudeau QC YUL AC2003 Montréal Trudeau QC YUL AC2004 Montréal Trudeau QC YUL AC2007 Montréal Trudeau QC 6 rows selected. question 3 NOVOL nb segments AC AC AC AC AC question 4

11 NOVOL PRIX AC AC AC AC question 5 NOVOL nb segments AC AC AC AC AC AC AC rows selected. question 6 CODEAEROP CDG JFK YQB YVR YYZ question 7 CODEAEROP YQB YVR question 8 having count (seg1.nosegment)>= all

12 ERROR at line 4: ORA-00933: SQL command not properly ended question 9 CODEAEROP YVR question 10 (select c1.description ERROR at line 4: ORA-00933: SQL command not properly ended question 11 drop view fabricant create view tablefabriquant as ORA-00957: duplicate column name case ERROR at line 5: ORA-00933: SQL command not properly ended question 12 NOVOL

13 AC2001 question 13 CODEAEROP CDG JFK YQB YUL YYZ question 14 (select codeaeroportarrivee, codeaeroportdepart ERROR at line 4: ORA-00913: too many values question 15 Disconnected Oracle Database 10g Enterprise Edition Release Production With the Partitioning, OLAP and Data Mining options

constraint PKnbrVol primary key (No_vol) ); DROP TABLE segmentdevol CASCADE CONSTRAINTS; CREATE TABLE segmentdevol( numeric(9) NOT NULL,

constraint PKnbrVol primary key (No_vol) ); DROP TABLE segmentdevol CASCADE CONSTRAINTS; CREATE TABLE segmentdevol( numeric(9) NOT NULL, -------------------------------------------------- -- c est une base de doonnees qui permet de gerer-- -- les vols d une compagnie aerienne-------------- --Victor Kimenyi, 13042806------------------------

More information

-- ROSE-MARIE BRISSON MATRICULE: 14033798 -- MARIE-?VE BERTHIAUME MATRICULE: 14151972 DROP TABLE VOL CASCADE CONSTRAINT; CREATE TABLE VOL (

-- ROSE-MARIE BRISSON MATRICULE: 14033798 -- MARIE-?VE BERTHIAUME MATRICULE: 14151972 DROP TABLE VOL CASCADE CONSTRAINT; CREATE TABLE VOL ( -- ROSE-MARIE BRISSON MATRICULE: 14033798 -- MARIE-?VE BERTHIAUME MATRICULE: 14151972 DROP TABLE VOL CASCADE CONSTRAINT; CREATE TABLE VOL ( VARCHAR(6), TYPE_DE_VOL VARCHAR(8) NOT NULL CHECK (TYPE_DE_VOL

More information

--- Vincent Hamel, hamv2701 14 162 988

--- Vincent Hamel, hamv2701 14 162 988 --- Vincent Hamel, hamv2701 14 162 988 ------------------------------------------------- drop table Aeroport cascade constraints; create table Aeroport ( codeaeroport varchar(20), ville varchar(20), etat

More information

--Nom: Laurent Senécal-Léonard 14 143 483

--Nom: Laurent Senécal-Léonard 14 143 483 --Nom: Laurent Senécal-Léonard 14 143 483 --Création de la table aéroport et de ses attributs drop table Aeroport cascade constraints; create table Aeroport ( codeaeroport varchar2(6) not null, ville varchar2(20)

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

More information

2 Software requirements and installation

2 Software requirements and installation Oracle Enterprise Manager for Oracle TimesTen In-Memory Database Release Notes Release 12.1.0.3.0 E58956-03 October 2015 This document provides late-breaking information and information that is not yet

More information

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows: How to Recover lost online redo logs? Author A.Kishore If you lose the current online redo log, then you will not be able to recover the information in that online redo log. This is one reason why redo

More information

5. CHANGING STRUCTURE AND DATA

5. CHANGING STRUCTURE AND DATA Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure

More information

Chapter 9 Joining Data from Multiple Tables. Oracle 10g: SQL

Chapter 9 Joining Data from Multiple Tables. Oracle 10g: SQL Chapter 9 Joining Data from Multiple Tables Oracle 10g: SQL Objectives Identify a Cartesian join Create an equality join using the WHERE clause Create an equality join using the JOIN keyword Create a non-equality

More information

Oracle Database 12c: Introduction to SQL Ed 1.1

Oracle Database 12c: Introduction to SQL Ed 1.1 Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along

More information

Oracle 10g PL/SQL Training

Oracle 10g PL/SQL Training Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural

More information

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 11g: SQL Tuning Workshop Oracle University Contact Us: + 38516306373 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release 2 training assists database

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the

More information

An Oracle White Paper March 2014. Integrating Oracle Database Vault with Oracle Application Express

An Oracle White Paper March 2014. Integrating Oracle Database Vault with Oracle Application Express An Oracle White Paper March 2014 Integrating Oracle Database Vault with Oracle Application Express Disclaimer The following is intended to outline our general product direction. It is intended for information

More information

Oracle Education @ USF

Oracle Education @ USF Oracle Education @ USF Oracle Education @ USF helps increase your employability and also trains and prepares you for the competitive job market at a much lower cost compared to Oracle University. Oracle

More information

2. Oracle SQL*PLUS. 60-539 Winter 2015. Some SQL Commands. To connect to a CS server, do:

2. Oracle SQL*PLUS. 60-539 Winter 2015. Some SQL Commands. To connect to a CS server, do: 60-539 Winter 2015 Some SQL Commands 1 Using SSH Secure Shell 3.2.9 to login to CS Systems Note that if you do not have ssh secure shell on your PC, you can download it from www.uwindsor.ca/softwaredepot.

More information

MySQL for Beginners Ed 3

MySQL for Beginners Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Beginners Ed 3 Duration: 4 Days What you will learn The MySQL for Beginners course helps you learn about the world's most popular open source database.

More information

Oracle For Beginners Page : 1

Oracle For Beginners Page : 1 Oracle For Beginners Page : 1 Chapter 17 EXCEPTION HANDLING What is an? How to handle s? Predefined s When NO_DATA_FOUND is not raised? User-defined Reraising an Associating an With An Oracle Error Exception

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training teaches you how to write subqueries,

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure Backup Types Logical Backup and Recovery Cold Hot Physical With Without Issues Categories of Failures Protectthe database from numerous types of failures Increase Mean-Time-Between-Failures (MTBF) Decrease

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Oracle SQL. Course Summary. Duration. Objectives

Oracle SQL. Course Summary. Duration. Objectives Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data

More information

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Mark Rittman, Director, Rittman Mead Consulting for Collaborate 09, Florida, USA,

More information

SAP BO Course Details

SAP BO Course Details SAP BO Course Details By Besant Technologies Course Name Category Venue SAP BO SAP Besant Technologies No.24, Nagendra Nagar, Velachery Main Road, Address Velachery, Chennai 600 042 Landmark Opposite to

More information

Oracle PL/SQL Injection

Oracle PL/SQL Injection Oracle PL/SQL Injection David Litchfield What is PL/SQL? Procedural Language / Structured Query Language Oracle s extension to standard SQL Programmable like T-SQL in the Microsoft world. Used to create

More information

Oracle Database 11g: SQL Tuning Workshop Release 2

Oracle Database 11g: SQL Tuning Workshop Release 2 Oracle University Contact Us: 1 800 005 453 Oracle Database 11g: SQL Tuning Workshop Release 2 Duration: 3 Days What you will learn This course assists database developers, DBAs, and SQL developers to

More information

Copyright 2013 wolfssl Inc. All rights reserved. 2

Copyright 2013 wolfssl Inc. All rights reserved. 2 - - Copyright 2013 wolfssl Inc. All rights reserved. 2 Copyright 2013 wolfssl Inc. All rights reserved. 2 Copyright 2013 wolfssl Inc. All rights reserved. 3 Copyright 2013 wolfssl Inc. All rights reserved.

More information

TIM 50 - Business Information Systems

TIM 50 - Business Information Systems TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz March 1, 2015 The Database Approach to Data Management Database: Collection of related files containing records on people, places, or things.

More information

Installation and management of Oracle 11g Express Edition Release 2 2 July 2016

Installation and management of Oracle 11g Express Edition Release 2 2 July 2016 School of Computer Science & Software Engineering Session: July 2016 University of Wollongong Lecturer: Janusz R. Getta Installation and management of Oracle 11g Express Edition Release 2 2 July 2016 Objectives

More information

QA Tools (QTP, QC/ALM), ETL Testing, Selenium, Mobile, Unix, SQL, SOAP UI

QA Tools (QTP, QC/ALM), ETL Testing, Selenium, Mobile, Unix, SQL, SOAP UI QA Tools (QTP, QC/ALM), ETL Testing, Selenium, Mobile, Unix, SQL, SOAP UI From Length: Approx 7-8 weeks/70+ hours Audience: Students with knowledge of manual testing Student Location To students from around

More information

CONNECTING PROGRAM FOR EUROPE QUESTIONS AND ANSWERS

CONNECTING PROGRAM FOR EUROPE QUESTIONS AND ANSWERS CONNECTING PROGRAM FOR EUROPE QUESTIONS AND ANSWERS INTRODUCTION 1. How does this winter s connecting program work? The main objective of Transat s connecting program is to offer more European destinations

More information

Oracle Database Security and Audit

Oracle Database Security and Audit Copyright 2014, Oracle Database Security and Beyond Checklists Learning objectives Understand data flow through an Oracle database instance Copyright 2014, Why is data flow important? Data is not static

More information

Transborder US Canada Roundtable

Transborder US Canada Roundtable Transborder US Canada Roundtable How Passenger Leakage Affects Airports Moderated by Jack Penning Director of Market Analysis Sixel Consulting Group The Transborder Roundtable Panel Clint Ostler Manager

More information

The First Example of TimesTen with Oracle on Windows

The First Example of TimesTen with Oracle on Windows The First Example of TimesTen with Oracle on Windows Introduction Oracle TimesTen In-Memory Database is a memory-optimized relational database that empowers applications with the instant responsiveness

More information

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: +381 11 2016811 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn Understanding the basic concepts of relational databases ensure refined code by developers.

More information

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/- Oracle Objective: Oracle has many advantages and features that makes it popular and thereby makes it as the world's largest enterprise software company. Oracle is used for almost all large application

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL training

More information

Guide to Performance and Tuning: Query Performance and Sampled Selectivity

Guide to Performance and Tuning: Query Performance and Sampled Selectivity Guide to Performance and Tuning: Query Performance and Sampled Selectivity A feature of Oracle Rdb By Claude Proteau Oracle Rdb Relational Technology Group Oracle Corporation 1 Oracle Rdb Journal Sampled

More information

ICAB4136B Use structured query language to create database structures and manipulate data

ICAB4136B Use structured query language to create database structures and manipulate data ICAB4136B Use structured query language to create database structures and manipulate data Release: 1 ICAB4136B Use structured query language to create database structures and manipulate data Modification

More information

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc.

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc. Oracle9i Data Warehouse Review Robert F. Edwards Dulcian, Inc. Agenda Oracle9i Server OLAP Server Analytical SQL Data Mining ETL Warehouse Builder 3i Oracle 9i Server Overview 9i Server = Data Warehouse

More information

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2 Class Announcements TIM 50 - Business Information Systems Lecture 15 Database Assignment 2 posted Due Tuesday 5/26 UC Santa Cruz May 19, 2015 Database: Collection of related files containing records on

More information

Database Programming with PL/SQL: Learning Objectives

Database Programming with PL/SQL: Learning Objectives Database Programming with PL/SQL: Learning Objectives This course covers PL/SQL, a procedural language extension to SQL. Through an innovative project-based approach, students learn procedural logic constructs

More information

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. SQL Databases Course by Applied Technology Research Center. 23 September 2015 This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. Oracle Topics This Oracle Database: SQL

More information

Handling Exceptions. Copyright 2008, Oracle. All rights reserved.

Handling Exceptions. Copyright 2008, Oracle. All rights reserved. Handling Exceptions Handling Exceptions What Will I Learn? In this lesson, you will learn to: Describe several advantages of including exception handling code in PL/SQL Describe the purpose of an EXCEPTION

More information

SQL Programming. CS145 Lecture Notes #10. Motivation. Oracle PL/SQL. Basics. Example schema:

SQL Programming. CS145 Lecture Notes #10. Motivation. Oracle PL/SQL. Basics. Example schema: CS145 Lecture Notes #10 SQL Programming Example schema: CREATE TABLE Student (SID INTEGER PRIMARY KEY, name CHAR(30), age INTEGER, GPA FLOAT); CREATE TABLE Take (SID INTEGER, CID CHAR(10), PRIMARY KEY(SID,

More information

Oracle Database 11g SQL

Oracle Database 11g SQL AO3 - Version: 2 19 June 2016 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries

More information

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress* Oracle Database 11 g Performance Tuning Recipes Sam R. Alapati Darl Kuhn Bill Padfield Apress* Contents About the Authors About the Technical Reviewer Acknowledgments xvi xvii xviii Chapter 1: Optimizing

More information

REPORT GENERATION USING SQL*PLUS COMMANDS

REPORT GENERATION USING SQL*PLUS COMMANDS Oracle For Beginners Page : 1 Chapter 14 REPORT GENERATION USING SQL*PLUS COMMANDS What is a report? Sample report Report script Break command Compute command Column command Ttitle and Btitle commands

More information

Persistent Stored Modules (Stored Procedures) : PSM

Persistent Stored Modules (Stored Procedures) : PSM Persistent Stored Modules (Stored Procedures) : PSM Stored Procedures What is stored procedure? SQL allows you to define procedures and functions and store them in the database server Executed by the database

More information

LearnFromGuru Polish your knowledge

LearnFromGuru Polish your knowledge SQL SERVER 2008 R2 /2012 (TSQL/SSIS/ SSRS/ SSAS BI Developer TRAINING) Module: I T-SQL Programming and Database Design An Overview of SQL Server 2008 R2 / 2012 Available Features and Tools New Capabilities

More information

Handling Exceptions. Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 8-1

Handling Exceptions. Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 8-1 Handling Exceptions Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 8-1 Objectives After completing this lesson, you should be able to do the following: Define PL/SQL

More information

Programming with SQL

Programming with SQL Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using

More information

Basic Import Utility User Guide

Basic Import Utility User Guide 2013 Basic Import Utility User Guide PERPETUAL INNOVATION Lenel OnGuard 2013 Basic Import Utility User Guide, product version 6.6 This guide is item number DOC-101, revision 3.003, July 2012 Copyright

More information

Costing In Oracle HRMS CONCEPTS

Costing In Oracle HRMS CONCEPTS Costing In Oracle HRMS CONCEPTS Costing Overview Purpose This document contains an outline of the hierarchical nature of costings in Release 10. It explains how costings entered into the Cost Allocation

More information

The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Who is Abel Macias? 1994 - Joined Oracle Support 2000

More information

Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables. Lesson C Objectives. Joining Multiple Tables

Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables. Lesson C Objectives. Joining Multiple Tables Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables Wednesay 9/24/2014 Abdou Illia MIS 4200 - Fall 2014 Lesson C Objectives After completing this lesson, you should be able

More information

PUBLIC. How to Use E-Mail in SAP Business One. Solutions from SAP. SAP Business One 2005 A SP01

PUBLIC. How to Use E-Mail in SAP Business One. Solutions from SAP. SAP Business One 2005 A SP01 PUBLIC How to Use E-Mail in SAP Business One Solutions from SAP SAP Business One 2005 A SP01 February 2007 Contents Purpose... 3 Sending an E-Mail... 4 Use... 4 Prerequisites... 4 Procedure... 4 Adding

More information

Instant SQL Programming

Instant SQL Programming Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

More information

Handling Exceptions. Schedule: Timing Topic. 45 minutes Lecture 20 minutes Practice 65 minutes Total

Handling Exceptions. Schedule: Timing Topic. 45 minutes Lecture 20 minutes Practice 65 minutes Total 23 Handling Exceptions Copyright Oracle Corporation, 1999. All rights reserved. Schedule: Timing Topic 45 minutes Lecture 20 minutes Practice 65 minutes Total Objectives After completing this lesson, you

More information

Oracle Database 10g Express

Oracle Database 10g Express Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives

More information

Oracle Database 10g: Administration Workshop II Release 2

Oracle Database 10g: Administration Workshop II Release 2 ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Administration Workshop II Release 2 Duration: 5 Days What you will learn This course advances your success as an Oracle professional

More information

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. est: Final Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 6 1. How can you retrieve the error code and error message of any

More information

Oracle PL/SQL Parameters, Variables, and Views

Oracle PL/SQL Parameters, Variables, and Views Oracle PL/SQL Parameters, Variables, and Views Using the Single ampersand characters to input column names, table names, and conditions select &col1, &col2, &col3 2 from &table_name 3 where &condition;

More information

Using RMAN to restore a database to another server in an ASM environment

Using RMAN to restore a database to another server in an ASM environment Using RMAN to restore a database to another server in an ASM environment It is possible to restore an Oracle 11g database to another server easily in an ASM environment by following the steps below. 1.

More information

Relational Database: Additional Operations on Relations; SQL

Relational Database: Additional Operations on Relations; SQL Relational Database: Additional Operations on Relations; SQL Greg Plaxton Theory in Programming Practice, Fall 2005 Department of Computer Science University of Texas at Austin Overview The course packet

More information

Using Temporary Tables to Improve Performance for SQL Data Services

Using Temporary Tables to Improve Performance for SQL Data Services Using Temporary Tables to Improve Performance for SQL Data Services 2014- Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying,

More information

Outline. SAS-seminar Proc SQL, the pass-through facility. What is SQL? What is a database? What is Proc SQL? What is SQL and what is a database

Outline. SAS-seminar Proc SQL, the pass-through facility. What is SQL? What is a database? What is Proc SQL? What is SQL and what is a database Outline SAS-seminar Proc SQL, the pass-through facility How to make your data processing someone else s problem What is SQL and what is a database Quick introduction to Proc SQL The pass-through facility

More information

Data warehousing in Oracle. SQL extensions for data warehouse analysis. Available OLAP functions. Physical aggregation example

Data warehousing in Oracle. SQL extensions for data warehouse analysis. Available OLAP functions. Physical aggregation example Data warehousing in Oracle Materialized views and SQL extensions to analyze data in Oracle data warehouses SQL extensions for data warehouse analysis Available OLAP functions Computation windows window

More information

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days SSIS Training Prerequisites All SSIS training attendees should have prior experience working with SQL Server. Hands-on/Lecture

More information

Oracle Architecture, Concepts & Facilities

Oracle Architecture, Concepts & Facilities COURSE CODE: COURSE TITLE: CURRENCY: AUDIENCE: ORAACF Oracle Architecture, Concepts & Facilities 10g & 11g Database administrators, system administrators and developers PREREQUISITES: At least 1 year of

More information

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, 2016. Integration Guide IBM

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, 2016. Integration Guide IBM IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, 2016 Integration Guide IBM Note Before using this information and the product it supports, read the information

More information

3.GETTING STARTED WITH ORACLE8i

3.GETTING STARTED WITH ORACLE8i Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer

More information

Advanced Oracle SQL Tuning

Advanced Oracle SQL Tuning Advanced Oracle SQL Tuning Seminar content technical details 1) Understanding Execution Plans In this part you will learn how exactly Oracle executes SQL execution plans. Instead of describing on PowerPoint

More information

Oracle BI 11g R1: Create Analyses and Dashboards

Oracle BI 11g R1: Create Analyses and Dashboards Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle BI 11g R1: Create Analyses and Dashboards Duration: 5 Days What you will learn This Oracle BI 11g R1: Create Analyses and

More information

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures] Objectif Install Oracle Grid Infrastructure Install Oracle Database 11g Release 2 Use Oracle Restart to manage components Use Automatic Storage Management (ASM) enhancements Implement table compression

More information

1 Structured Query Language: Again. 2 Joining Tables

1 Structured Query Language: Again. 2 Joining Tables 1 Structured Query Language: Again So far we ve only seen the basic features of SQL. More often than not, you can get away with just using the basic SELECT, INSERT, UPDATE, or DELETE statements. Sometimes

More information

Building Views and Charts in Requests Introduction to Answers views and charts Creating and editing charts Performing common view tasks

Building Views and Charts in Requests Introduction to Answers views and charts Creating and editing charts Performing common view tasks Oracle Business Intelligence Enterprise Edition (OBIEE) Training: Working with Oracle Business Intelligence Answers Introduction to Oracle BI Answers Working with requests in Oracle BI Answers Using advanced

More information

Relational Databases for the Business Analyst

Relational Databases for the Business Analyst Relational Databases for the Business Analyst Mark Kurtz Sr. Systems Consulting Quest Software, Inc. mark.kurtz@quest.com 2010 Quest Software, Inc. ALL RIGHTS RESERVED Agenda The RDBMS and its role in

More information

Writing Control Structures

Writing Control Structures Writing Control Structures Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 5-1 Objectives After completing this lesson, you should be able to do the following: Identify

More information

Green Migration from Oracle

Green Migration from Oracle Green Migration from Oracle Greenplum Migration Approach Strong Experiences on Oracle Migration Automate all tasks DDL Migration Data Migration PL-SQL and SQL Scripts Migration Data Quality Tests ETL and

More information

Exploiting PL/SQL Injection on Oracle 12c. with only. CREATE SESSION privileges

Exploiting PL/SQL Injection on Oracle 12c. with only. CREATE SESSION privileges Exploiting PL/SQL Injection on Oracle 12c with only CREATE SESSION privileges David Litchfield [david.litchfield@datacom.com.au] 21 st May 2014 Copyright Datacom TSS http://www.datacomtss.com.au Introduction

More information

Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia

Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. SQL Review Single Row Functions Character Functions Date Functions Numeric Function Conversion Functions General Functions

More information

SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

SQL - QUICK GUIDE. Allows users to access data in relational database management systems. http://www.tutorialspoint.com/sql/sql-quick-guide.htm SQL - QUICK GUIDE Copyright tutorialspoint.com What is SQL? SQL is Structured Query Language, which is a computer language for storing, manipulating

More information

Documentation Accessibility

Documentation Accessibility Oracle Warehouse Builder Release Notes 11g Release 1 (11.1) B40098-02 September 2007 This document contains important information not included in the Oracle Warehouse Builder documentation. This document

More information

HP Quality Center. Upgrade Preparation Guide

HP Quality Center. Upgrade Preparation Guide HP Quality Center Upgrade Preparation Guide Document Release Date: November 2008 Software Release Date: November 2008 Legal Notices Warranty The only warranties for HP products and services are set forth

More information

Top 10 Oracle SQL Developer Tips and Tricks

Top 10 Oracle SQL Developer Tips and Tricks Top 10 Oracle SQL Developer Tips and Tricks December 17, 2013 Marc Sewtz Senior Software Development Manager Oracle Application Express Oracle America Inc., New York, NY The following is intended to outline

More information

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, 2015. Integration Guide IBM

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, 2015. Integration Guide IBM IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, 2015 Integration Guide IBM Note Before using this information and the product it supports, read the information in Notices on page 93.

More information

When to consider OLAP?

When to consider OLAP? When to consider OLAP? Author: Prakash Kewalramani Organization: Evaltech, Inc. Evaltech Research Group, Data Warehousing Practice. Date: 03/10/08 Email: erg@evaltech.com Abstract: Do you need an OLAP

More information

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process ORACLE OLAP KEY FEATURES AND BENEFITS FAST ANSWERS TO TOUGH QUESTIONS EASILY KEY FEATURES & BENEFITS World class analytic engine Superior query performance Simple SQL access to advanced analytics Enhanced

More information

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals 1 Properties of a Database 1 The Database Management System (DBMS) 2 Layers of Data Abstraction 3 Physical Data Independence 5 Logical

More information

Empowered Self-Service with SAP HANA and SAP Lumira. Dennis Scoville BI Evangelist Business Intelligence & Technology Honeywell Aerospace

Empowered Self-Service with SAP HANA and SAP Lumira. Dennis Scoville BI Evangelist Business Intelligence & Technology Honeywell Aerospace Empowered Self-Service with SAP HANA and SAP Lumira Dennis Scoville BI Evangelist Business Intelligence & Technology Honeywell Aerospace Agenda About Honeywell Introduction Self-Service Business Intelligence

More information