Oracle Database 18c. Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases

Size: px
Start display at page:

Download "Oracle Database 18c. Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases"

Transcription

1 Oracle Database 18c Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases

2 About me. Keith Laker Product Manager for Analytic SQL and Autonomous DW Oracle Blog: 2

3

4 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle s products may change and remains at the sole discretion of Oracle Corporation.

5 Session Agenda Overview What is a Polymorphic Table Function? Server-side and Client-side interfaces Patterns and Use Cases for PTFs Taking a PTF apart line by line Restrictions and Other Considerations Summary 5

6 Session Agenda 1 Overview 6

7 Database 18c - All you need is.. #ThinkPolymorphic

8

9

10 18c Doc - PL/SQL Packages and Types Reference

11 Refresher - Oracle 9i User Defined Aggregate API

12 Session Agenda 2 What is a Polymorphic Table Function? 12

13 On-Going Evolution of Table Functions Table Function (TF): An application function which produces a set of rows which can be used in the FROM-clause of a query. Row types are determined and fixed at design time Complicated to design, especially for parallel execution Polymorphic Table Function (PTF): A TF which has its row type determined by the values of the actual parameters. A PTF is useful when the application wants to provide generic extensions which work for arbitrary input tables or queries. 13

14 3 Key Design Objectives for Polymorphic Table Functions 1. Simple algorithms should be easily expressible PTF specific code should be minimal. 2. The APIs should be few, powerful, regular, incrementally learnable, etc. 3. Query and PTF authors should not have to understand how the database parallelizes the execution of the PTF query PTF developer can simply assume serial execution Polymorphic Table Functions are simply an evolution of Table Functions 14

15 What is a Self-Describing/Polymorphic Table Function? ANSI SQL 2016: Definition Polymorphic Table Functions (PTF) are user-defined functions that can be invoked in the FROM clause. Capable of processing any table row type is not declared at definition time produces a result table whose row type may/may not be declared at definition time. Allows application developers to leverage the long-defined dynamic SQL Simple SQL access to powerful and complex custom functions. BLACK-BOX CREDIT RISK MODEL 15

16 Polymorphic Table Function Data source input must be single table Can be Row-Semantic or Table-Semantic Use Row Semantic when new columns can be determined by just looking at any single row (see livesql ECHO example) Use Table Semantic when the new columns can be determined by looking at current row + some state that summarizes previously processed rows (see livesql - ROWNUM example) 16

17 Key Interfaces for PTFs Client Interface DBMS_TF Server-Side Interface PTFs need various services from database to implement functionality. PTFs need mechanism to get rows from database and send back new rows. Package provides server + client interfaces utilities. Contains types, constants, and subprograms. Use DBMS_TF subprograms to consume, produce data, get information execution environment. 17

18 Session Agenda 3 Server-side and Client-side interfaces 18

19 Client Side Interfaces Optional called at start of execution. Optional called at end of execution. DESCRIBE OPEN FETCH_ROWS CLOSE Required Returns definition and structure of new row source. Can produce the associated new values (rows and columns). Compilation Optional For a given subset of rows it produces the associated new values (rows and/or columns). Execution 19

20 Purpose of DESCRIBE Function Determines type of rows produced Returns a DBMS_TF.DESCRIBE_T table (Server side interface) Invoked during SQL cursor compilation All argument values from calling query are passed to the DESCRIBE function. Like any PLSQL function, DESCRIBE function can be overloaded and have default values Indicates how columns are processed: Passed unchanged as output (Pass-Through columns) Columns that the PTF will use during computation (Read columns) Includes any instrumentation code 20

21 DESCRIBE Function - Example Code FUNCTION describe(tab IN OUT dbms_tf.table_t, cols IN dbms_tf.columns_t) RETURN dbms_tf.describe_t AS BEGIN RETURN dbms_tf.describe_t(new_columns => new_cols); END;

22 DESCRIBE Function - Example Code FUNCTION describe(tab IN OUT dbms_tf.table_t, cols IN dbms_tf.columns_t) RETURN dbms_tf.describe_t AS new_cols dbms_tf.columns_new_t; col_id PLS_INTEGER := 1; BEGIN What is columns_new_t? Collection of new columns TYPE COLUMNS_NEW_T IS TABLE OF COLUMN_METADATA_T INDEX BY PLS_INTEGER;

23 DESCRIBE Function - Example Code FOR i IN 1.. tab.column.count LOOP continue WHEN NOT dbms_tf.supported_type(tab.column(i).description.type); FOR j IN 1.. cols.count LOOP END LOOP; END LOOP; Loop through columns from input table Check to seeif column datatype is supported? Yes..then loop through columns passed as arguments Do some processing

24 Purpose of OPEN Function (Optional) OPEN procedure is generally invoked before calling the FETCH_ROWS procedure Initialize/allocate any execution specific variables Typically calls GET_XID function to get a unique ID for managing the execution state. Most useful when implementing a Table Semantics PTF Includes any instrumentation code 24

25 Purpose of FETCH_ROWS Function (Optional) Input to a (non-leaf) PTF is a single stream of rows, divided into arbitrary sized chunks of rows Each of these chunks is called a rowset Consume rows in input stream one rowset at a time (designated the active rowset) Only one rowset active at any time Produce the corresponding new columns (and new rows, if any). Each call to FETCH_ROWS must act upon the active rowset Can then either return or remain inside the FETCH_ROWS and request and process another rowset. Not mandatory to process additional rowsets: FETCH_ROWS can simply return after processing the current rowset Database might invoke FETCH_ROWS multiple times 25

26 Purpose of CLOSE Function (Optional) Called at the end of the PTF execution Releases resources associated with execution state Includes any instrumentation code 26

27 Creating a single package for multiple PTFs Multiple PTF implementations in same package Override the default runtime method names (OPEN, FETCH_ROWS, and CLOSE) with your own specific names. Specify the new method names using DBMS_TF METHOD_NAMES collection methods DBMS_TF.methods_t := DBMS_TF.methods_t(DBMS_TF.fetch_rows => 'Noop_Fetch'); RETURN DBMS_TF.describe_t(method_names => methods); 27

28 Server Side Interfaces PART 1 COLUMN_METADATA_T COLUMN_T TABLE_T COLUMNS_T COLUMNS_NEW_T TAB_<typ>_T ROW_SET_T Column metadata record Column descriptor record Table descriptor record Collection containing column names Collection for new columns Collection for each supported types, where <typ> is described in Supported Types Collections Data for a rowset record

29 Server Side Interfaces PART 2 GET_COL Procedure PUT_COL Procedure GET_ROW_SET Procedure PUT_ROW_SET Procedure SUPPORTED_TYPE Function GET_XID Function Fetches data for a specified (input) column Returns data for a specified (new) column Fetches the input rowset of column values Returns data for ALL (new) columns Verifies if a type is supported by DBMS_TF subprograms Returns a unique execution ID to index PTF state in a session

30 Server Side Interfaces PART 3 ROW_TO_CHAR Function SUPPORTED_TYPE Function TRACE Procedure XSTORE_ XXXX Procedures Returns the string representation of a row in a rowset Returns TRUE if a specified type is supported by PTF infrastructure Prints data structures to help development and problem diagnosis State management functions

31 Session Agenda 4 Patterns and Use Cases for PTFs 31

32 Basic Patterns for Polymorphic Tables Taking an existing rowset and Column-based EXPANSION Calculating/deriving a new column value Row-based EXPANSION Data pivot operation Column-based REDUCTION Data unpivot operation Row-based REDUTION Data aggregation/reduction operation No existing rowset to process Rowset GENERATOR Creates new rows and columns Importing a CSV file

33 Business Uses for Wrapping Bespoke Code Inside PTFs Example Use Case Path Analysis Discover patterns in rows of sequential data npath-type sequential processing for time series and pattern analysis Identify sessions from time series data Statistical Analysis High-performance processing of common statistical calculations Model to test strength of the relation between different columns Perform linear or logistic regression between output variable and set of input variables Relational Analysis Discover important relationships among data Build configurable groupings of related items from transaction records Find shortest path from a distinct node to all other nodes in a graph

34 Business Uses for Wrapping Bespoke Code Inside PTFs Example Use Case Text Analytics Derive patterns in textual data Bespoke text processing word counting find occurrences of words, identifies roots, track relative positions of words and/or multi-word phrases Multi-row textual analysis of data sets Cluster Analytics Discover natural groupings of data points Custom rules to clusters data into a specified number of groupings Bucket highly-dimensional items for cluster analysis Data Transformation Transform data for more advanced analysis Pivoting to extract/contract nested data for further analysis Multi-case processing to supports row matching for multiple cases

35 Session Agenda 5 Taking a PTF apart line by line for more code samples goto livesql.oracle.com 35

36 Basic PTF Examples on livesql.oracle.com ECHO any column Return rowset with ROWNUM Dynamic CSV Convertor Row semantic Table semantic Adding rows, reducing columns Adding columns, reducing rows

37 Session Agenda 5 Taking a PTF apart line by line Simple example: echoing/repeating columns 37

38 column EXPANSION pattern simple example Return all columns in input table tab Add new columns listed in cols argument New column names appended with "ECHO_". Data for new columns obtained from corresponding input columns, prefixed 'ECHO-'. SELECT * from ECHO(dept, columns(dname, loc)); DEPTNO DNAME LOC ECHO_DNAME ECHO_LOC ACCOUNTING NEW YORK ECHO-ACCOUNTING ECHO-NEW YORK 20 RESEARCH DALLAS ECHO-RESEARCH ECHO-DALLAS 30 SALES CHICAGO ECHO-SALES ECHO-CHICAGO 40 OPERATIONS BOSTON ECHO-OPERATIONS ECHO-BOSTON 38

39 Example: Multiple Tables and Query Arguments TABLE() operator is no longer required. Table names are passed in like regular (scalar) arguments. Query arguments are passed to PTF using a WITH-clause with t as ( select deptno, sum(sal) budget from emp natural join dept where dname in ( SALES, RESEARCH ) group by deptno) select * from ECHO(t, columns(deptno)); ; 39

40 Simple Example: Repeat Columns In Table Return all columns in input table Add new columns listed in cols argument New column names appended with "ECHO_". Data for new columns obtained from corresponding input columns, prefixed 'ECHO-'. SELECT * from ECHO(emp, columns(ename, job)) where deptno = 20; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ECHO_ENAME ECHO_JOB SMITH CLERK DEC ECHO-SMITH ECHO-CLER 7566 JONES MANAGER APR ECHO-JONES ECHO-MANA 7788 SCOTT ANALYST APR ECHO-SCOTT ECHO-ANAL 7876 ADAMS CLERK MAY ECHO-ADAMS ECHO-CLER 7902 FORD ANALYST DEC ECHO-FORD ECHO-ANAL 40

41 Defining the Implementation Package CREATE OR REPLACE PACKAGE echo_package AS procedure Describe(-- Generic Arguments: newcols OUT DBMS_TF.columns_new_t, -- Specific Arguments: tab IN OUT DBMS_TF.table_t, cols IN DBMS_TF.columns_t); procedure Open; procedure Fetch_Rows; procedure Close; end; 41

42 Defining The Polymorphic Table Function COLUMN ECHO CREATE OR REPLACE FUNCTION echo(tab table, cols columns) RETURN TABLE PIPELINED ROW POLYMORPHIC USING echo_package; 42

43 Defining The Polymorphic Table Function ROW_NUM CREATE FUNCTION row_num(tab TABLE, ini NUMBER DEFAULT 1, inc NUMBER DEFAULT 1) RETURN TABLE PIPELINED TABLE POLYMORPHIC USING row_num_p; 43

44 Details Of DESCRIBE Procedure for ECHO PTF CREATE OR REPLACE PACKAGE BODY echo_package AS PROCEDURE Describe( -- Generic Arguments: newcols OUT DBMS_TF.columns_new_t, -- Specific Arguments: tab IN OUT DBMS_TF.table_t, cols IN DBMS_TF.columns_t) as read_count pls_integer := 0; begin... end; 44

45 Details Of DESCRIBE Procedure for ECHO PTF /* Mark specified columns FOR_READ and create corresponding new column */ newcols := DBMS_TF.columns_new_t(); newcols.extend(cols.count); for i in 1.. cols.count loop for j in 1.. tab.count loop if (cols(i) = tab(j).description.col_name) then tab(j).for_read := TRUE; newcols(i) := tab(j).description; newcols(i).col_name := 'ECHO_' newcols(i).col_name; 45

46 Output From Execution of DESCRIBE Describe()...Read_Column[1] = ENAME...Read_Column[2] = JOB 46

47 Details Of OPEN Procedure Tracing Information PROCEDURE Open as env DBMS_TF.env_t := DBMS_TF.Get_Env(); begin DBMS_TF.Trace('Open()'); DBMS_TF.Trace('Get_Col.Count = ' env.get_columns.count, prefix => '...'); DBMS_TF.Trace('Put_Col.Count = ' env.put_columns.count, prefix => '...'); end; OPEN will include any SESSION STATE code required by the PTF! 47

48 Output From Execution of OPEN Open()...Get_Col.Count = 2...Put_Col.Count = 2 48

49 Details Of Describe Procedure for ECHO PTF PROCEDURE Fetch_Rows as Col DBMS_TF.tab_varchar2_t; col_count pls_integer := DBMS_TF.Get_Env().get_columns.count; begin... end; 49

50 Details Of FETCH_ROWS Procedure for ECHO PTF begin col DBMS_TF.tab_varchar2_t; col_count pls_integer := DBMS_TF.Get_Env().get_columns.count; /* Get each input columns, in-place update its values, and use it as the new column */ for c in 1.. col_count loop DBMS_TF.Get_Col(c, col); -- Get the column 'c /* Modify the fetched column values */ for i in 1.. col.count loop col(i) := 'ECHO-' col(i); end loop; DBMS_TF.Put_Col(c, col); -- Set the column 'c' end loop; 50

51 Output From Execution of FETCH_ROWS Fetch_Rows()...Col1[1] = SMITH...Col1[2] = JONES...Col1[3] = SCOTT...Col1[4] = ADAMS...Col1[5] = FORD...Col2[1] = CLERK...Col2[2] = MANAGER...Col2[3] = ANALYST...Col2[4] = CLERK...Col2[5] = ANALYST Close() 51

52 Using A Polymorphic Table: Echoing Varchar2 Columns SELECT * FROM ECHO(emp, COLUMNS(ename, job)) WHERE deptno = 20; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ECHO_ENAME ECHO_JOB SMITH CLERK DEC ECHO-SMITH ECHO-CLER 7566 JONES MANAGER APR ECHO-JONES ECHO-MANA 7788 SCOTT ANALYST APR ECHO-SCOTT ECHO-ANAL 7876 ADAMS CLERK MAY ECHO-ADAMS ECHO-CLER 7902 FORD ANALYST DEC ECHO-FORD ECHO-ANAL 52

53 Session Agenda 5 Taking a PTF apart line by line Explain plans and database feature usage 53

54 Explain Plan for Polymorphic Table ECHO EXPLAIN PLAN FOR SELECT * FROM ECHO(emp, COLUMNS(ename, job)) WHERE deptno = 20; Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 1 VIEW (0) 00:00:01 2 POLYMORPHIC TABLE FUNCTION ECHO 3 VIEW (0) 00:00:01 * 4 TABLE ACCESS FULL EMP (0) 00:00: Predicate Information (identified by operation id): filter("emp"."deptno"=20) Note dynamic statistics used: dynamic sampling (level=2) 54

55 Explain Plan for Parallel Execution of PTF - ECHO ALTER TABLE emp PARALLEL 2; EXPLAIN PLAN FOR SELECT * FROM ECHO(emp, COLUMNS(ename, job)) WHERE deptno = 20; Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 1 PX COORDINATOR 2 PX SEND QC (RANDOM) :TQ (0) 00:00:01 3 VIEW (0) 00:00:01 4 POLYMORPHIC TABLE FUNCTION ECHO 5 VIEW (0) 00:00:01 6 PX BLOCK ITERATOR (0) 00:00:01 * 7 TABLE ACCESS FULL EMP (0) 00:00: Predicate Information (identified by operation id): filter("emp"."deptno"=20) Note dynamic statistics used: dynamic sampling (level=2) 55

56 Explain Plan Showing IMCDTs for PTF ECHO EXPLAIN PLAN FOR WITH e AS (SELECT /*+ MATERIALIZE */ * FROM emp) SELECT * FROM ECHO(e, COLUMNS(ename, job)) WHERE deptno = 20; Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 1 TEMP TABLE TRANSFORMATION 2 LOAD AS SELECT (CURSOR DURATION MEMORY) SYS_TEMP_0FD9D6612_276EFC 3 TABLE ACCESS FULL EMP (0) 00:00:01 4 VIEW (0) 00:00:01 5 POLYMORPHIC TABLE FUNCTION ECHO 6 VIEW (0) 00:00:01 * 7 VIEW (0) 00:00:01 8 TABLE ACCESS FULL SYS_TEMP_0FD9D6612_276EFC (0) 00:00:

57 Explain Plan Showing Use Of Results Cache For PTF ECHO EXPLAIN PLAN FOR WITH e AS (SELECT /*+ result_cache */ * FROM echo(emp, COLUMNS(ename, job))) SELECT * FROM e WHERE deptno = 20; Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 * 1 VIEW (0) 00:00:01 2 RESULT CACHE df9wucm9ak4br4mdpt7t2z1xv8 3 VIEW (0) 00:00:01 4 POLYMORPHIC TABLE FUNCTION ECHO 5 VIEW (0) 00:00:01 6 TABLE ACCESS FULL EMP (0) 00:00: Predicate Information (identified by operation id): filter("deptno"=20) Result Cache Information (identified by operation id): column-count=10; dependencies=(scott.emp, SCOTT.ECHO_PACKAGE, SCOTT.ECHO_PACKAGE, SCOTT.ECHO); attributes=(dynamic); name="select /*+ result_cache */ * from ECHO(emp, columns(ename, job))" 57

58 Nesting calls to PTFs NOT ALLOWED SELECT * FROM CHANGE_CASE(GET_COL(scott.emp, 'varchar2'), 'initcap'); * ERROR at line 1: ORA-62569: nested polymorphic table function is disallowed Solution: is to use WITH clause: WITH T AS (SELECT * FROM GET_COL(scott.emp, 'varchar2')) SELECT * FROM CHANGE_CASE(T, 'initcap'); 58

59 When is a PTF not a PTF When It s a DESCRIBE-only PTF? Describe only" PTF does not require the run-time procedures (open/fetch_rows/close) create or replace package GET_COL_P as function Describe(tab IN OUT DBMS_TF.Table_t, type_name varchar2, flip varchar2 DEFAULT 'True') return DBMS_TF.describe_t; function GET_COL(tab table, type_name varchar2, flip varchar2 DEFAULT 'True') return table pipelined ROW POLYMORPHIC using GET_COL_P; end GET_COL_P; / 59

60 When is a PTF not a PTF When It s a DESCRIBE-only PTF? create or replace package body GET_COL_P as function Describe(tab IN OUT DBMS_TF.table_t, type_name varchar2, flip varchar2 DEFAULT 'True') return DBMS_TF.describe_t as typ constant varchar2(1024) := upper(ltrim(rtrim(type_name))); begin for i in 1.. tab.column.count() loop tab.column(i).pass_through := case upper(substr(flip,1,1)) when 'F' then DBMS_TF.Column_Type_Name(tab.column(i).description)!= typ else DBMS_TF.Column_Type_Name(tab.column(i).description)= typ end /* case */; end loop; return null; end; end GET_COL_P; 60

61 When is a PTF not a PTF When It s a DESCRIBE-only PTF? Use the GET_COL PTF to report for employees JOB is either ANALYST or PRESIDENT only columns whose type is not VARCHAR2. SELECT * FROM GET_COL(scott.emp, 'varchar2') WHERE job IN ('ANALYST','PRESIDENT') Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT 3 (100) * 1 TABLE ACCESS FULL EMP Describe-only PTF doesn't have any runtime procedures, no need to allocate PTF row-source. 61

62 Session Agenda 6 Restrictions and Other Considerations 62

63 PTF Restrictions Cannot be nested in FROM clause of a query. Nesting PTF is only allowed using WITH clause. PTF cannot be specified as an argument of a table function - no nesting. Cannot select a rowid from a Polymorphic Table Function (PTF). PARTITION BY - ORDER BY clauses can only apply to Table Semantics PTF Execution methods OPEN, FETCH_ROWS, and CLOSE must be invoked in execution context only. You cannot invoke the DESCRIBE method directly.

64 Can a PTF execute in parallel? Both Row and Table Semantic PTFs are parallelized but For ROW semantic PTFs Query executes with same DOP as it would if PTF were not present i.e. DOP is driven by the child row source. For TABLE semantic PTFs Requires input table rows to be redistributed using PARTITION BY key DOP determined by PARTITION BY clause 64

65 Session Agenda 7 Summary

66 Key Benefits of Polymorphic Table Functions Automatic Parallelization 100% Processing In-database Parallelization is must-have for bulk-data processing Automatically parallelizes data processing, no special code required Simpler to design, build and deploy In-Database means processing co-located with data Eliminates need to move data to separate processing engine Simpler integration with existing and future performance optimizations Extend In-Database Functions Enhance built-in analytics by incorporating bespoke business rules Extend analytic features by adding new functionality Simplifies SQL for non-technical users Simplifies sophisticated, complex SQL Brings the power of complex analytics to anyone with SQL skills

67 Safe Harbor Statement The preceeding was intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle s products may change and remains at the sole discretion of Oracle Corporation.

68

Real-World Performance Training SQL Introduction

Real-World Performance Training SQL Introduction Real-World Performance Training SQL Introduction Real-World Performance Team Basics SQL Structured Query Language Declarative You express what you want to do, not how to do it Despite the name, provides

More information

CS2 Current Technologies Lecture 2: SQL Programming Basics

CS2 Current Technologies Lecture 2: SQL Programming Basics T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 2: SQL Programming Basics Dr Chris Walton (cdw@dcs.ed.ac.uk) 4 February 2002 The SQL Language 1 Structured Query Language

More information

CS2 Current Technologies Note 1 CS2Bh

CS2 Current Technologies Note 1 CS2Bh CS2 Current Technologies Note 1 Relational Database Systems Introduction When we wish to extract information from a database, we communicate with the Database Management System (DBMS) using a query language

More information

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries Chris Walton (cdw@dcs.ed.ac.uk) 11 February 2002 Multiple Tables 1 Redundancy requires excess

More information

Introduction. Introduction to Oracle: SQL and PL/SQL

Introduction. Introduction to Oracle: SQL and PL/SQL Introduction Introduction to Oracle: SQL and PL/SQL 1 Objectives After completing this lesson, you should be able to do the following: Discuss the theoretical and physical aspects of a relational database

More information

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University 1 Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University Lecture 3 Part A CIS 311 Introduction to Management Information Systems (Spring 2017)

More information

King Fahd University of Petroleum and Minerals

King Fahd University of Petroleum and Minerals 1 King Fahd University of Petroleum and Minerals Information and Computer Science Department ICS 334: Database Systems Semester 041 Major Exam 1 18% ID: Name: Section: Grades Section Max Scored A 5 B 25

More information

Oracle DB-Tuning Essentials

Oracle DB-Tuning Essentials Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.

More information

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Part III Data Modelling Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Outline of this part (I) 1 Introduction to the Relational Model and SQL Relational Tables Simple Constraints

More information

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.

More information

Programming Languages

Programming Languages Programming Languages Chapter 19 - Continuations Dr. Philip Cannata 1 Exceptions (define (f n) (let/cc esc (/ 1 (if (zero? n) (esc 1) n)))) > (f 0) 1 > (f 2) 1/2 > (f 1) 1 > Dr. Philip Cannata 2 Exceptions

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

Informatics Practices (065) Sample Question Paper 1 Section A

Informatics Practices (065) Sample Question Paper 1 Section A Informatics Practices (065) Sample Question Paper 1 Note 1. This question paper is divided into sections. Section A consists 30 marks. 3. Section B and Section C are of 0 marks each. Answer the questions

More information

Pivot Tables Motivation (1)

Pivot Tables Motivation (1) Pivot Tables The Pivot relational operator (available in some SQL platforms/servers) allows us to write cross-tabulation queries from tuples in tabular layout. It takes data in separate rows, aggregates

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

SQL Structured Query Language Introduction

SQL Structured Query Language Introduction SQL Structured Query Language Introduction Rifat Shahriyar Dept of CSE, BUET Tables In relational database systems data are represented using tables (relations). A query issued against the database also

More information

ORACLE: PL/SQL Programming

ORACLE: PL/SQL Programming %ROWTYPE Attribute... 4:23 %ROWTYPE... 2:6 %TYPE... 2:6 %TYPE Attribute... 4:22 A Actual Parameters... 9:7 Actual versus Formal Parameters... 9:7 Aliases... 8:10 Anonymous Blocks... 3:1 Assigning Collection

More information

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012 Ensuring Optimal Performance Vivek Sharma 3 rd November 2012 Sangam 2012 Who am I? Around 12 Years using Oracle Products Certified DBA versions 8i Specializes in Performance Optimization COE Lead with

More information

Objectives. After completing this lesson, you should be able to do the following:

Objectives. After completing this lesson, you should be able to do the following: Objectives After completing this lesson, you should be able to do the following: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries Write single-row

More information

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview RDBMS Using Oracle BIT-4 Lecture Week 3 Lecture Overview Creating Tables, Valid and Invalid table names Copying data between tables Character and Varchar2 DataType Size Define Variables in SQL NVL and

More information

@vmahawar. Agenda Topics Quiz Useful Links

@vmahawar. Agenda Topics Quiz Useful Links @vmahawar Agenda Topics Quiz Useful Links Agenda Introduction Stakeholders, data classification, Rows/Columns DDL Data Definition Language CREATE, ALTER, DROP, TRUNCATE CONSTRAINTS, DATA TYPES DML Data

More information

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

Database implementation Further SQL

Database implementation Further SQL IRU SEMESTER 2 January 2010 Semester 1 Session 2 Database implementation Further SQL Objectives To be able to use more advanced SQL statements, including Renaming columns Order by clause Aggregate functions

More information

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse.

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse. Database Management System * First install Mysql Database or Wamp Server which contains Mysql Databse. * Installation steps are provided in pdf named Installation Steps of MySQL.pdf or WAMP Server.pdf

More information

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration About PL/ Overview of PL/ PL/ is an extension to with design features of programming languages. Data manipulation and query statements of are included within procedural units of code. PL/ Environment Benefits

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

More information

Databases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until

Databases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until Databases Relational Model, Algebra and operations How do we model and manipulate complex data structures inside a computer system? Until 1970.. Many different views or ways of doing this Could use tree

More information

Table of Contents. Oracle SQL PL/SQL Training Courses

Table of Contents. Oracle SQL PL/SQL Training Courses Table of Contents Overview... 7 About DBA University, Inc.... 7 Eligibility... 8 Pricing... 8 Course Topics... 8 Relational database design... 8 1.1. Computer Database Concepts... 9 1.2. Relational Database

More information

Suppose we need to get/retrieve the data from multiple columns which exists in multiple tables...then we use joins..

Suppose we need to get/retrieve the data from multiple columns which exists in multiple tables...then we use joins.. JOINS: why we need to join?? Suppose we need to get/retrieve the data from multiple columns which exists in multiple tables...then we use joins.. what is the condition for doing joins??...yes at least

More information

: ADMINISTRATION I EXAM OBJECTIVES COVERED IN THIS CHAPTER:

: ADMINISTRATION I EXAM OBJECTIVES COVERED IN THIS CHAPTER: 4367c01.fm Page 1 Wednesday, April 6, 2005 8:14 AM Chapter 1 Oracle Database 10g Components and Architecture ORACLE DATABASE 10G: ADMINISTRATION I EXAM OBJECTIVES COVERED IN THIS CHAPTER: Installing Oracle

More information

Databases IIB: DBMS-Implementation Exercise Sheet 13

Databases IIB: DBMS-Implementation Exercise Sheet 13 Prof. Dr. Stefan Brass January 27, 2017 Institut für Informatik MLU Halle-Wittenberg Databases IIB: DBMS-Implementation Exercise Sheet 13 As requested by the students, the repetition questions a) will

More information

PL/SQL. Exception. When the PL/SQL engine cannot execute the PLSQL block it raise an error. Every Oracle error has an error number

PL/SQL. Exception. When the PL/SQL engine cannot execute the PLSQL block it raise an error. Every Oracle error has an error number PL/SQL Exception When the PL/SQL engine cannot execute the PLSQL block it raise an error. Every Oracle error has an error number Exceptions must be handled by name. PL/SQL predefines some common Oracle

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

Create Rank Transformation in Informatica with example

Create Rank Transformation in Informatica with example Create Rank Transformation in Informatica with example Rank Transformation in Informatica. Creating Rank Transformation in Inforamtica. Creating target definition using Target designer. Creating a Mapping

More information

Creating and Working with JSON in Oracle Database

Creating and Working with JSON in Oracle Database Creating and Working with JSON in Oracle Database Dan McGhan Oracle Developer Advocate JavaScript & HTML5 January, 2016 Safe Harbor Statement The following is intended to outline our general product direction.

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server 20461 - Querying Microsoft SQL Server Duration: 5 Days Course Price: $2,975 Software Assurance Eligible Course Description About this course This 5-day instructor led course provides students with the

More information

C. Use the TO_CHAR function around SYSDATE, that is, 1_date := TO_CHAR (SYSDATE).

C. Use the TO_CHAR function around SYSDATE, that is, 1_date := TO_CHAR (SYSDATE). Volume: 75 Questions Question: 1 Examine this code: Users of this function may set different date formats in their sessions. Which two modifications must be made to allow the use of your session s date

More information

20461: Querying Microsoft SQL Server 2014 Databases

20461: Querying Microsoft SQL Server 2014 Databases Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,

More information

Oracle 1Z Oracle Database 12c: Advanced PL/SQL.

Oracle 1Z Oracle Database 12c: Advanced PL/SQL. Oracle 1Z0-148 Oracle Database 12c: Advanced PL/SQL https://killexams.com/pass4sure/exam-detail/1z0-148 QUESTION: 67 Examine this Java method in class Employee, loaded into the Oracle database: Public

More information

Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led

Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led Course Description This training starts with an introduction to PL/SQL and then explores the benefits of this powerful programming

More information

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL CertBus.com 1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL Pass Oracle 1Z0-144 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100%

More information

AVANTUS TRAINING PTE LTD

AVANTUS TRAINING PTE LTD [MS20461]: Querying Microsoft SQL Server 2014 Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This 5-day

More information

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,

More information

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda Agenda Oracle9i Warehouse Review Dulcian, Inc. Oracle9i Server OLAP Server Analytical SQL Mining ETL Infrastructure 9i Warehouse Builder Oracle 9i Server Overview E-Business Intelligence Platform 9i Server:

More information

Interpreting Explain Plan Output. John Mullins

Interpreting Explain Plan Output. John Mullins Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Querying Microsoft SQL Server 2008/2012

Querying Microsoft SQL Server 2008/2012 Querying Microsoft SQL Server 2008/2012 Course 10774A 5 Days Instructor-led, Hands-on Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL

More information

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com ORACLE VIEWS ORACLE VIEWS Techgoeasy.com 1 Oracle VIEWS WHAT IS ORACLE VIEWS? -A view is a representation of data from one or more tables or views. -A view is a named and validated SQL query which is stored

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: + 420 2 2143 8459 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction

More information

Oracle Database: Program with PL/SQL Ed 2

Oracle Database: Program with PL/SQL Ed 2 Oracle University Contact Us: +38 61 5888 820 Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction

More information

Oracle ADF 11g: New Declarative Validation, List of Values, and Search Features. Steve Muench Consulting Product Manager Oracle ADF Development Team

Oracle ADF 11g: New Declarative Validation, List of Values, and Search Features. Steve Muench Consulting Product Manager Oracle ADF Development Team Oracle ADF 11g: New Declarative Validation, List of Values, and Search Features Steve Muench Consulting Product Manager Oracle ADF Development Team View Object Enhancements Named

More information

IBM A Assessment: DB2 9 Fundamentals-Assessment. Download Full Version :

IBM A Assessment: DB2 9 Fundamentals-Assessment. Download Full Version : IBM A2090-730 Assessment: DB2 9 Fundamentals-Assessment Download Full Version : http://killexams.com/pass4sure/exam-detail/a2090-730 C. 2 D. 3 Answer: C QUESTION: 294 In which of the following situations

More information

Active Databases Part 1: Introduction CS561

Active Databases Part 1: Introduction CS561 Active Databases Part 1: Introduction CS561 1 Active Databases n Triggers and rules are developed for data integrity and constraints n Triggers make passive database active Database reacts to certain situations

More information

Conditionally control code flow (loops, control structures). Create stored procedures and functions.

Conditionally control code flow (loops, control structures). Create stored procedures and functions. TEMARIO Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores the benefits

More information

20461D: Querying Microsoft SQL Server

20461D: Querying Microsoft SQL Server 20461D: Querying Microsoft SQL Server Course Details Course Code: Duration: Notes: 20461D 5 days This course syllabus should be used to determine whether the course is appropriate for the students, based

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 - Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

PBarel@Qualogy.com http://blog.bar-solutions.com About me Patrick Barel Working with Oracle since 1997 Working with PL/SQL since 1999 Playing with APEX since 2003 (mod_plsql) ACE since 2011 OCA since December

More information

IBM DB2 9 Family Fundamentals. Download Full Version :

IBM DB2 9 Family Fundamentals. Download Full Version : IBM 000-730 DB2 9 Family Fundamentals Download Full Version : http://killexams.com/pass4sure/exam-detail/000-730 Answer: D QUESTION: 292 The EMPLOYEE table contains the following information: EMPNO NAME

More information

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables)

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) March 12, 2013 Michael Rosenblum Dulcian, Inc. www.dulcian.com 1 of 43 Who Am I? Misha Oracle ACE Co-author of 2 books PL/SQL

More information

Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Slide 17-1

Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Slide 17-1 Slide 17-1 Chapter 17 Introduction to Transaction Processing Concepts and Theory Multi-user processing and concurrency Simultaneous processing on a single processor is an illusion. When several users are

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner @markusdba doag2017 Our company. Trivadis is a market leader in IT consulting, system

More information

ORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems

ORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems ORACLE TRAINING CURRICULUM Relational Database Fundamentals Overview of Relational Database Concepts Relational Databases and Relational Database Management Systems Normalization Oracle Introduction to

More information

"Charting the Course to Your Success!" MOC D Querying Microsoft SQL Server Course Summary

Charting the Course to Your Success! MOC D Querying Microsoft SQL Server Course Summary Course Summary Description This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation

More information

SQL. Char (30) can store ram, ramji007 or 80- b

SQL. Char (30) can store ram, ramji007 or 80- b SQL In Relational database Model all the information is stored on Tables, these tables are divided into rows and columns. A collection on related tables are called DATABASE. A named table in a database

More information

QUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led

QUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: QUERYING MICROSOFT SQL SERVER Course: 20461C; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This 5-day instructor led course provides students with

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

SYSTEM CODE COURSE NAME DESCRIPTION SEM

SYSTEM CODE COURSE NAME DESCRIPTION SEM Course: CS691- Database Management System Lab PROGRAMME: COMPUTER SCIENCE & ENGINEERING DEGREE:B. TECH COURSE: Database Management System Lab SEMESTER: VI CREDITS: 2 COURSECODE: CS691 COURSE TYPE: Practical

More information

Oracle Database: Introduction to SQL/PLSQL Accelerated

Oracle Database: Introduction to SQL/PLSQL Accelerated Oracle University Contact Us: Landline: +91 80 67863899 Toll Free: 0008004401672 Oracle Database: Introduction to SQL/PLSQL Accelerated Duration: 5 Days What you will learn This Introduction to SQL/PLSQL

More information

Oracle DB-Tuning Essentials

Oracle DB-Tuning Essentials Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server Querying Microsoft SQL Server 20461D; 5 days, Instructor-led Course Description This 5-day instructor led course provides students with the technical skills required to write basic Transact SQL queries

More information

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators OpenWorld 2018 SQL Tuning Tips for Cloud Administrators GP (Prabhaker Gongloor) Senior Director of Product Management Bjorn Bolltoft Dr. Khaled Yagoub Systems and DB Manageability Development Oracle Corporation

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server Querying Microsoft SQL Server Course 20461D 5 Days Instructor-led, Hands-on Course Description This 5-day instructor led course is designed for customers who are interested in learning SQL Server 2012,

More information

Oracle Data Integrator 12c New Features

Oracle Data Integrator 12c New Features Oracle Data Integrator 12c New Features Joachim Jaensch Principal Sales Consultant Copyright 2014 Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement The following is intended to outline

More information

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date Q1. Write SQL query for the following : (i) To create above table as per specification given (ii) To insert 02 records as per your choice (iii) Display the Item name, qty & s of all items purchased by

More information

CS Reading Packet: "Writing relational operations using SQL"

CS Reading Packet: Writing relational operations using SQL CS 325 - Reading Packet: "Writing relational operations using SQL" p. 1 CS 325 - Reading Packet: "Writing relational operations using SQL" Sources: Oracle9i Programming: A Primer, Rajshekhar Sunderraman,

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

IZ0-144Oracle 11g PL/SQL Certification (OCA) training

IZ0-144Oracle 11g PL/SQL Certification (OCA) training IZ0-144Oracle 11g PL/SQL Certification (OCA) training Advanced topics covered in this course: Managing Dependencies of PL/SQL Objects Direct and Indirect Dependencies Using the PL/SQL Compiler Conditional

More information

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database.

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL*Plus SQL*Plus is an application that recognizes & executes SQL commands &

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment

More information

COURSE OUTLINE: Querying Microsoft SQL Server

COURSE OUTLINE: Querying Microsoft SQL Server Course Name 20461 Querying Microsoft SQL Server Course Duration 5 Days Course Structure Instructor-Led (Classroom) Course Overview This 5-day instructor led course provides students with the technical

More information

P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern)

P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern) *4089101* [4089] 101 P.G.D.C.M. (Semester I) Examination, 2011 101 : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern) Time : 3 Hours Max. Marks : 70 Note : 1) Q. 1 is compulsory.

More information

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/ SQL Version: Demo QUESTION NO: 1 View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which

More information

Oracle PLSQL. Course Summary. Duration. Objectives

Oracle PLSQL. Course Summary. Duration. Objectives Oracle PLSQL Course Summary Use conditional compilation to customize the functionality in a PL/SQL application without removing any source code Design PL/SQL packages to group related constructs Create

More information

Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days

Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days This Database Program with PL/SQL training shows you how to develop stored procedures, functions, packages and database triggers. You'll

More information

Oracle Database 11g: Program with PL/SQL

Oracle Database 11g: Program with PL/SQL Oracle University Contact: +31 (0)30 669 9244 Oracle Database 11g: Program with PL/SQL Duration: 5 Dagen What you will learn This course introduces students to PL/SQL and helps them understand the benefits

More information

Analytics: Server Architect (Siebel 7.7)

Analytics: Server Architect (Siebel 7.7) Analytics: Server Architect (Siebel 7.7) Student Guide June 2005 Part # 10PO2-ASAS-07710 D44608GC10 Edition 1.0 D44917 Copyright 2005, 2006, Oracle. All rights reserved. Disclaimer This document contains

More information

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : II MID TERM /FN/ 18-19 CODE : M 065 TIME ALLOWED : 2 HOURS NAME OF STUDENT : MAX. MARKS : 50 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES : 3 INFORMATICS PRACTICES

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW 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 fundamentals of SQL and PL/SQL along with the

More information

INDEX. 1 Introduction. 2 Types of Cursors 2.1 Explicit cursor 2.2 Attributes 2.3 Implicit cursor 2.4 Attributes. 3 Parameterized cursor

INDEX. 1 Introduction. 2 Types of Cursors 2.1 Explicit cursor 2.2 Attributes 2.3 Implicit cursor 2.4 Attributes. 3 Parameterized cursor INDEX 1 Introduction 2 Types of Cursors 2.1 Explicit cursor 2.2 Attributes 2.3 Implicit cursor 2.4 Attributes 3 Parameterized cursor INTRODUCTION what is cursor? we have seen how oracle executes an SQL

More information

Oracle - Oracle Database: Program with PL/SQL Ed 2

Oracle - Oracle Database: Program with PL/SQL Ed 2 Oracle - Oracle Database: Program with PL/SQL Ed 2 Code: Lengt h: URL: DB-PLSQL 5 days View Online This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores

More information

Querying Microsoft SQL Server 2012/2014

Querying Microsoft SQL Server 2012/2014 Page 1 of 14 Overview This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Big Data Connectors: High Performance Integration for Hadoop and Oracle Database Melli Annamalai Sue Mavris Rob Abbott 2 Program Agenda Big Data Connectors: Brief Overview Connecting Hadoop with Oracle

More information

PL/SQL User s Guide and Reference

PL/SQL User s Guide and Reference PL/SQL User s Guide and Reference Release 2.2 March 1995 Part No. A19486 2 PL/SQL User s Guide and Reference, Release 2.2 Part No. A19486 2 Copyright Oracle Corporation 1988, 1995 All rights reserved.

More information

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Chapter. Relational Database Concepts COPYRIGHTED MATERIAL

Chapter. Relational Database Concepts COPYRIGHTED MATERIAL Chapter Relational Database Concepts 1 COPYRIGHTED MATERIAL Every organization has data that needs to be collected, managed, and analyzed. A relational database fulfills these needs. Along with the powerful

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

More information

ORACLE DATABASE 12C INTRODUCTION

ORACLE DATABASE 12C INTRODUCTION SECTOR / IT NON-TECHNICAL & CERTIFIED TRAINING COURSE In this training course, you gain the skills to unleash the power and flexibility of Oracle Database 12c, while gaining a solid foundation of database

More information

Oracle PLSQL Training Syllabus

Oracle PLSQL Training Syllabus Oracle PLSQL Training Syllabus Introduction Course Objectives Course Agenda Human Resources (HR) Schema Introduction to SQL Developer Introduction to PL/SQL PL/SQL Overview Benefits of PL/SQL Subprograms

More information

Introduction to SQL/PLSQL Accelerated Ed 2

Introduction to SQL/PLSQL Accelerated Ed 2 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Introduction to SQL/PLSQL Accelerated Ed 2 Duration: 5 Days What you will learn This Introduction to SQL/PLSQL Accelerated course

More information