SQL and PL/SQL New Features in Oracle Database 12c Czinkóczki László

Size: px
Start display at page:

Download "SQL and PL/SQL New Features in Oracle Database 12c Czinkóczki László"

Transcription

1 Siófok, 2014, HOUG 2014 SQL and PL/SQL New Features in Oracle Database 12c Czinkóczki László

2 SQL New Features CREATE PLUGGABLE DATABASE CREATE TABLE and ALTER TABLE Enhancements Extended Data Types Temporal Validity Hide and unhide columns CREATE VIEW Enhancements GRANT and REVOKE Enhancements SELECT Enhancements Using PL/SQL subprograms in SQL Statements Adaptive Plans TRUNCATE TABLE Enhancements New or Enhanced Functions SQL and PL/SQL New Features-- 2

3 Multitenant Architecture in Oracle 12c Multitenant container database (CDB) Pluggable database (PDB) You can plug a non-cdb into a CDB as a PDB. To move a PDB to a non-cdb,you must use Oracle Data Pump. Benefits: Cost reduction Separation of data and code One set of BG processes Ease of performance tuning Fewer database patches and upgrades Secure separation of administrative duties SQL and PL/SQL New Features-- 3

4 An example for creating PDB CREATE PLUGGABLE database pdborcl as clone using 'D:\app\lczinkoc\product\12.1.0\dbhome_1\assistants\ dbca\templates\\sampleschema.xml' source_file_name_convert = ('C:\ADE\AIME_V\ORACLE\ORADATA\SEEDDATA\SAMPLE_SCHEMA\ TEMP01.DBF', 'D:\APP\LCZINKOC\ORADATA\ORCL\PDBORCL\pdborcl_temp01.dbf', 'C:\ADE\AIME_V\ORACLE\ORADATA\SEEDDATA\SAMPLE_SCHEMA\ EXAMPLE01.DBF', 'D:\APP\LCZINKOC\ORADATA\ORCL\PDBORCL\EXAMPLE01.DBF', 'C:\ADE\AIME_V\ORACLE\ORADATA\SEEDDATA\SAMPLE_SCHEMA\ SYSTEM01.DBF', 'D:\APP\LCZINKOC\ORADATA\ORCL\PDBORCL\SYSTEM01.DBF', 'C:\ADE\AIME_V\ORACLE\ORADATA\SEEDDATA\SAMPLE_SCHEMA\ SAMPLE_SCHEMA_USERS01.DBF', 'D:\APP\LCZINKOC\ORADATA\ORCL\PDBORCL\ SAMPLE_SCHEMA_USERS01.DBF', 'C:\ADE\AIME_V\ORACLE\ORADATA\SEEDDATA\SAMPLE_SCHEMA\ SYSAUX01.DBF', 'D:\APP\LCZINKOC\ORADATA\ORCL\PDBORCL\SYSAUX01.DBF') NOCOPY; SQL and PL/SQL New Features-- 4

5 Using sequence in CREATE TABLE statement A sequence can be used to generate values for PK and UK DROP SEQUENCE HOUG; DROP TABLE EMP PURGE; CREATE SEQUENCE HOUG START WITH 1; CREATE TABLE emp (a1 NUMBER DEFAULT HOUG.NEXTVAL NOT NULL, a2 VARCHAR2(10)); INSERT INTO emp (a2) VALUES ('john'); INSERT INTO emp (a2) VALUES ('mark'); COMMIT; SET LONG SELECT * FROM emp; SELECT DBMS_METADATA.GET_DDL('TABLE','EMP','HR') FROM DUAL; SQL and PL/SQL New Features-- 5

6 Extended Data Types Extend the size of some data types If MAX_STRING_SIZE = STANDARD, then the size limits 4000 bytes for the VARCHAR2 and NVARCHAR2 data types 2000 bytes for the RAW data type. This is the default. If MAX_STRING_SIZE = EXTENDED, then the size limits bytes for the VARCHAR2, NVARCHAR2and RAW data types. Note : ORA-14694: database must in UPGRADE mode to begin MAX_STRING_SIZE migration SQL and PL/SQL New Features-- 6

7 Temporal Validity CREATE TABLE my_emp_hidden( empno NUMBER, last_name VARCHAR2(30), PERIOD FOR user_valid_time); INSERT INTO my_emp_hidden (empno,last_name,user_valid_time_start,user_valid_time_end) VALUES (100, 'King', TO_TIMESTAMP('01-Jan-10'), TO_TIMESTAMP('02-Jun-12')); INSERT INTO my_emp_hidden (empno,last_name,user_valid_time_start,user_valid_time_end) VALUES (101, 'Kochhar', TO_TIMESTAMP('01-Jan-11'), TO_TIMESTAMP('30-Jun-12')); INSERT INTO my_emp_hidden (empno,last_name,user_valid_time_start,user_valid_time_end) VALUES (102, 'De Haan', TO_TIMESTAMP('01-Jan-12'),NULL); COMMIT; SQL and PL/SQL New Features-- 7

8 SQL and PL/SQL New Features-- 8 Temporal Validity EXEC DBMS_FLASHBACK_ARCHIVE.ENABLE_AT_VALID_TIME('ALL') SELECT * FROM my_emp_hidden; EMPNO LAST_NAME King 101 Kochhar 102 De Haan EXEC DBMS_FLASHBACK_ARCHIVE.ENABLE_AT_VALID_TIME('CURRENT') SELECT * FROM my_emp_hidden; EMPNO LAST_NAME De Haan SELECT empno,last_name,user_valid_time_start,user_valid_time_end FROM my_emp_hidden;

9 SQL Row Limiting Clause The row_limiting_clause allows you to limit the rows that are returned by the query. Queries that order data and then limit row output are widely used and are often referred to as Top-N queries. You can specify the number of rows or percentage of rows to return with the FETCH_FIRST keywords. You can use the OFFSET keyword to specify that the returned rows begin with a row after the first row of the full result set. The WITH TIES keyword includes additional rows with the same ordering keys as the last row of the row-limited result set (you must specify ORDER BY in the query). SQL and PL/SQL New Features-- 9

10 Limiting the percentage of ordered rows retrieved in Oracle 12c SELECT /*+ GATHER_PLAN_STATISTICS */ employee_id, last_name, salary FROM employees ORDER BY salary DESC FETCH FIRST 5 PERCENT ROWS ONLY; EMPLOYEE_ID LAST_NAME SALARY King Kochhar De Haan Russell Partners Hartstein SQL and PL/SQL New Features-- 10

11 Traditional solution SELECT /*+ GATHER_PLAN_STATISTICS */ E.* FROM (SELECT employee_id, last_name, salary, CUME_DIST() OVER( ORDER BY Salary DESC) cum_dist FROM employees ORDER BY salary DESC) E WHERE E.CUM_DIST<=0.05; EMPLOYEE_ID LAST_NAME SALARY CUM_DIST King Kochhar De Haan Russell Partners SQL and PL/SQL New Features-- 11

12 Execution plan for the the new solution SELECT /*+ GATHER_PLAN_STATISTICS */ employee_id, last_name, salary FROM employees ORDER BY salary DESC FETCH FIRST 5 PERCENT ROWS ONLY Plan hash value: Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT 3 (100) * 1 VIEW (0) 00:00:01 2 WINDOW SORT (0) 00:00:01 3 TABLE ACCESS FULL EMPLOYEES (0) 00:00: SQL and PL/SQL New Features-- 12

13 Execution plan for the the traditional solution SELECT /*+ GATHER_PLAN_STATISTICS */ E.* FROM (SELECT employee_id, last_name, salary, CUME_DIST() OVER( ORDER BY Salary DESC) cum_dist FROM employees ORDER BY salary DESC) E WHERE E.CUM_DIST<=0.05 Plan hash value: Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT 3 (100) * 1 VIEW (0) 00:00:01 2 WINDOW SORT (0) 00:00:01 3 TABLE ACCESS FULL EMPLOYEES (0) 00:00: SQL and PL/SQL New Features-- 13

14 Adaptive Plan SELECT u.tblspc "TABLESPACE", (a.fbytes/1024/1000) "ALLOCATE_MBYTE", (u.ebytes/1024/1000) USED_MBYTE, ((a.fbytes - u.ebytes)/1024/1000) FREE_MBYTE, trunc((u.ebytes / a.fbytes) * 100) PERCENT FROM (SELECT tablespace_name tblspc, SUM(bytes) ebytes FROM sys.dba_extents GROUP BY tablespace_name) u, (SELECT tablespace_name tblspc, SUM(bytes) fbytes FROM sys.dba_data_files GROUP BY tablespace_name) a WHERE u.tblspc = a.tblspc ORDER BY tablespace; --Execute again EXEC SQLID('u.tblspc'); Note this is an adaptive plan SQL and PL/SQL New Features-- 14

15 The CASCADE option in TRUNCATE Statement CASCADE If you specify CASCADE, then Oracle Database truncates all child tables that reference table with an enabled ON DELETE CASCADE referential constraint. This is a recursive operation that will truncate all child tables, granchild tables, and so on, using the specified options CREATE TABLE NEWDEPT AS SELECT * FROM DEPARTMENTS; ALTER TABLE NEWDEPT ADD CONSTRAINT NEWDEPT_ID_PK PRIMARY KEY(DEPARTMENT_ID); CREATE TABLE NEWEMP AS SELECT * FROM EMPLOYEES; ALTER TABLE NEWEMP ADD CONSTRAINT NEWEMP_DEPT_ID_FK FOREIGN KEY(DEPARTMENT_ID) REFERENCES NEWDEPT(DEPARTMENT_ID) ON DELETE CASCADE ; SELECT * FROM NEWEMP; TRUNCATE TABLE NEWDEPT CASCADE ; SQL and PL/SQL New Features-- 15

16 WITH option using local PL/SQL subprogram WITH FUNCTION tax(p_amount IN NUMBER) RETURN NUMBER IS m NUMBER; BEGIN IF p_amount <8000 THEN m:=0.08; ELSIF p_amount <18000 THEN m:=0.25; ELSE m:=0.3; END IF; RETURN p_amount * m; END; emp_costs AS ( SELECT d.department_name dept_name,e.last_name, e.salary, tax(e.salary) AS tax_amount FROM employees e JOIN departments d ON e.department_id = d.department_id), dept_costs AS ( SELECT dept_name, SUM(salary) AS dept_sal, SUM(tax_amount) tax_sum, AVG(salary) avg_sal FROM emp_costs GROUP BY dept_name) SELECT * FROM dept_costs WHERE dept_sal > (SELECT MAX(avg_sal) FROM dept_costs) ORDER BY dept_name; SQL and PL/SQL New Features-- 16

17 Using PL/SQL function in UPDATE Statement DROP TABLE NEWEMP PURGE; CREATE TABLE newemp AS SELECT * FROM employees; ALTER TABLE newemp ADD tax_amount number(10,2); UPDATE /*+ WITH_PLSQL */ newemp E SET tax_amount=(with FUNCTION TAX(P_AMOUNT IN NUMBER) RETURN NUMBER IS M NUMBER; BEGIN IF P_AMOUNT <8000 THEN M:=0.08; ELSIF P_AMOUNT <18000 THEN M:=0.25; ELSE M:=0.3; END IF; RETURN P_AMOUNT*M; END; SELECT tax(salary) FROM employees M WHERE m.employee_id=e.employee_id); / SELECT salary, tax_amount FROM newemp ORDER BY salary; SQL and PL/SQL New Features-- 17

18 Using PL/SQL function in CREATE VIEW Statement CREATE OR REPLACE VIEW proba As WITH FUNCTION TAX(P_AMOUNT IN NUMBER) RETURN NUMBER IS M NUMBER; BEGIN IF P_AMOUNT <8000 THEN M:=0.08; ELSIF P_AMOUNT <18000 THEN M:=0.25; ELSE M:=0.3; END IF; RETURN P_AMOUNT*M; END; dept_costs AS ( SELECT d.department_name, SUM(e.salary) dept_total, TAX(SUM(E.SALARY)) TAX_AMOUNT FROM employees e JOIN departments d ON e.department_id = d.department_id GROUP BY d.department_name), avg_cost AS ( SELECT AVG(dept_total) dept_avg, SUM(TAX_AMOUNT) TAX FROM dept_costs) SELECT * FROM dept_costs WHERE dept_total > (SELECT dept_avg FROM avg_cost) ORDER BY department_name; SQL and PL/SQL New Features-- 18

19 PL/SQL New Features Privilege Analysis ACCESSIBLE BY Clause More PL/SQL-Only Data Types Can Cross PL/SQL-to-SQL Interface Invoker's Rights Functions Can Be Result-Cached Database Triggers on PDBs New procedure in DBMS_UTILITY New Package: UTL_CALL_STACK Hidden automatic bulk processing SQL and PL/SQL New Features-- 19

20 SQL and PL/SQL New Features-- 20 Privilege Analysis Database Vault lincense needed Increase database security: Revoke unused privileges Analyze used privileges to revoke unnecessary privileges. Use new package: DBMS_PRIVILEGE_CAPTURE BEGIN DBMS_PRIVILEGE_CAPTURE.CREATE_CAPTURE ( name => 'Privs_HR_OE_logged_users', description => 'All privileges used by HR or OE', type => dbms_privilege_capture.g_context, condition => q'# SYS_CONTEXT('USERENV','SESSION_USER') IN ('HR', 'OE') #' ); END; / BEGIN SYS.DBMS_PRIVILEGE_CAPTURE.ENABLE_CAPTURE. ( name => 'Privs_HR_OE_logged_users'); END; /

21 SQL and PL/SQL New Features-- 21 Privilege Analysis Database Vault lincense needed SQL> select USERNAME, SYS_PRIV, OBJ_PRIV, OBJECT_OWNER, OBJECT_NAME 2 from DBA_USED_PRIVS ; USERNAME SYS_PRIV OBJ_PRIV OBJECT_OWNER OBJECT_NAME HR CREATE SESSION TOM SELECT SH SALES OE UPDATE HR DEPARTMENTS SQL> select USERNAME, OBJ_PRIV, OBJECT_NAME, PATH 2 from DBA_USED_OBJPRIVS_PATH where username in ('TOM','JIM') USERNAME OBJ_PRIV OBJECT_NAME PATH OE UPDATE DEPARTMENTS GRANT_PATH('OE') JIM DELETE EMPLOYEES GRANT_PATH('JIM', 'HR_MGR') TOM SELECT SALES GRANT_PATH('TOM', 'SALES_CLERK') SQL> select USERNAME, OBJ_PRIV, OBJECT_NAME, PATH 2 from DBA_UNUSED_PRIVS where username='jim'; USERNAME OBJ_PRIV OBJECT_NAME PATH JIM INSERT EMPLOYEES GRANT_PATH('JIM','HR_MGR') JIM UPDATE EMPLOYEES GRANT_PATH('JIM','HR_MGR')

22 ACCESSIBLE BY clause I. CREATE OR REPLACE FUNCTION TAX(P_AMOUNT IN NUMBER) RETURN NUMBER ACCESSIBLE BY (depts,scott.depts2) IS M NUMBER; BEGIN IF P_AMOUNT <8000 THEN M:=0.08; ELSIF P_AMOUNT <18000 THEN M:=0.25; ELSE M:=0.31; END IF; RETURN P_AMOUNT*M; END; / GRANT EXECUTE ON TAX TO SCOTT; SQL and PL/SQL New Features-- 22

23 ACCESSIBLE BY clause II. CREATE OR REPLACE PROCEDURE depts(p_deptno NUMBER) IS SUMMARY NUMBER:=0; V_DEPT_NAME DEPARTMENTS.DEPARTMENT_NAME%TYPE; BEGIN SELECT SUM(SALARY) INTO SUMMARY FROM EMPLOYEES WHERE DEPARTMENT_ID=P_DEPTNO; SELECT DEPARTMENT_NAME INTO V_DEPT_NAME FROM DEPARTMENTS WHERE DEPARTMENT_ID=P_DEPTNO; DBMS_OUTPUT.PUT_LINE ('Total salary for ' V_DEPT_NAME ': ' summary); --Calling; EXCEPTION WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE('No department!'); END depts; / EXEC DEPTS(90) SQL and PL/SQL New Features-- 23

24 More PL/SQL-Only Data Types Can Cross PL/SQL-to-SQL Interface CREATE OR REPLACE FUNCTION p(x boolean) RETURN VARCHAR2 IS BEGIN IF x THEN END IF; END; / RETURN 'x is true'; ELSE RETURN 'x is false'; set serveroutput on DECLARE l boolean:=5=6; s varchar2(30); begin SELECT p(l) INTO s FROM dual; dbms_output.put_line('the string: ' s); END; / SQL and PL/SQL New Features-- 24

25 New procedure in DBMS_UTILITY EXPAND_SQL_TEXT Recursively replaces any view references in the input SQL query with the corresponding view subquery CREATE OR REPLACE VIEW ed AS SELECT e.employee_id, e.last_name, d.department_id, d.department_name FROM employees E, departments d WHERE e.employee_id = d.department_id; SELECT * FROM ed; VAR txt VARCHAR2(500) SET AUTOPRINT ON EXEC DBMS_UTILITY.EXPAND_SQL_TEXT ('SELECT * FROM ed',:txt) SQL and PL/SQL New Features-- 25

26 Using UTL_CALL_STACK (Tom Kyte s demo) CREATE OR REPLACE PROCEDURE CALLING AS Depth pls_integer := UTL_Call_Stack.Dynamic_Depth(); d pls_integer:=0; PROCEDURE headers is begin dbms_output.put_line( 'Depth Number Name ' ); dbms_output.put_line( ' ' ); end headers; BEGIN DBMS_Output.Put_Line('Depth:' Depth chr(10)); headers; for j in reverse 1..Depth loop d:=d+1; DBMS_Output.Put_Line( lpad( utl_call_stack.lexical_depth(j), 10 ) rpad( d, 7) lpad( To_Char(UTL_Call_Stack.Unit_Line(j), '99'), 9 ) lpad(utl_call_stack.concatenate_subprogram(utl_call_stack.subprogram(j)),30,' ')); end loop; END CALLING; / SQL and PL/SQL New Features-- 26

27 Explicit auto bulk processing CREATE OR REPLACE PROCEDURE BULK_LIMIT(rows NUMBER := 10) IS CURSOR c_big_emp is SELECT * FROM big_emp; type c_type is table of BIG_EMP%rowtype; emp c_type; S NUMBER:=0; n1 number; n2 number; BEGIN n1:=dbms_utility.get_cpu_time; OPEN c_big_emp; LOOP FETCH c_big_emp BULK COLLECT INTO EMP LIMIT rows; EXIT WHEN c_big_emp%notfound and emp.count=0; FOR I IN 1..EMP.COUNT LOOP S:=S+ EMP(I).SALARY; END LOOP; END LOOP; CLOSE c_big_emp ; n2:=dbms_utility.get_cpu_time; DBMS_OUTPUT.PUT_LINE('diff:' to_char((n2-n1)/100) 'S:=' S); END; / EXEC BULK_LIMIT(1000) SQL and PL/SQL New Features-- 27

28 Hidden auto bulk processing CREATE OR REPLACE PROCEDURE trad_fetch_for IS CURSOR C1 IS SELECT * FROM BIG_EMP; S NUMBER:=0; n1 number; n2 number; BEGIN n1:=dbms_utility.get_cpu_time; FOR EMP2 IN C1 LOOP S:=S+ EMP2.SALARY; END LOOP; n2:=dbms_utility.get_cpu_time; DBMS_OUTPUT.PUT_LINE('diff:' to_char((n2-n1)/100) 'S:=' S); END; / set timing on set serveroutput on exec trad_fetch_for SQL and PL/SQL New Features-- 28

29 SQL and PL/SQL New Features-- 29 Köszönöm a figyelmet! Czinkóczki László czinkoczkilaszlo@gmail.com

EXISTS NOT EXISTS WITH

EXISTS NOT EXISTS WITH Subquery II. Objectives After completing this lesson, you should be able to do the following: Write a multiple-column subquery Use scalar subqueries in SQL Solve problems with correlated subqueries Update

More information

Alkérdések II. Copyright 2004, Oracle. All rights reserved.

Alkérdések II. Copyright 2004, Oracle. All rights reserved. Alkérdések II. Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Write a multiple-column subquery Use scalar subqueries in SQL

More information

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM ORACLE 12C NEW FEATURE A Resource Guide NOV 1, 2016 TECHGOEASY.COM 1 Oracle 12c New Feature MULTITENANT ARCHITECTURE AND PLUGGABLE DATABASE Why Multitenant Architecture introduced with 12c? Many Oracle

More information

Lab Assignment 9 CIS 208A PL/SQL Programming and SQL

Lab Assignment 9 CIS 208A PL/SQL Programming and SQL Lab Assignment 9 CIS 208A PL/SQL Programming and SQL Section 9-1, Exercise #2, 3 2. Function full_name: A. Create a function called full_name. Pass two parameters to the function: an employee s last name

More information

Oracle Database SQL Basics

Oracle Database SQL Basics Oracle Database SQL Basics Kerepes Tamás, Webváltó Kft. tamas.kerepes@webvalto.hu 2015. február 26. Copyright 2004, Oracle. All rights reserved. SQL a history in brief The relational database stores data

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1 What s New in Security in the Latest Generation of Database Technology Thomas Kyte http://asktom.oracle.com 2 The following is intended to outline our general product direction. It is intended for information

More information

New Oracle 12c Features for Developers

New Oracle 12c Features for Developers New Oracle 12c Features for Developers Table of Contents Overview 1 THE BIG 6 The main developer enhancements in 12C 1 row_limiting_clause 1 New sizes for datatypes 3 PL/SQL functions in the WITH clause

More information

Database Programming with SQL

Database Programming with SQL Database Programming with SQL 7-2 Objectives In this lesson, you will learn to: Construct and execute a SELECT statement to access data from more than one table using a nonequijoin Create and execute a

More information

Retrieving Data from Multiple Tables

Retrieving Data from Multiple Tables Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 5 Retrieving Data from Multiple Tables Eng. Mohammed Alokshiya November 2, 2014 An JOIN clause

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

20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins

20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins 20 Essential Oracle SQL and PL/SQL Tuning Tips John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of

More information

KORA. RDBMS Concepts II

KORA. RDBMS Concepts II RDBMS Concepts II Outline Querying Data Source With SQL Star & Snowflake Schemas Reporting Aggregated Data Using the Group Functions What Are Group Functions? Group functions operate on sets of rows to

More information

Intermediate SQL: Aggregated Data, Joins and Set Operators

Intermediate SQL: Aggregated Data, Joins and Set Operators Intermediate SQL: Aggregated Data, Joins and Set Operators Aggregated Data and Sorting Objectives After completing this lesson, you should be able to do the following: Identify the available group functions

More information

Introduction to Oracle9i: SQL

Introduction to Oracle9i: SQL Oracle 1z0-007 Introduction to Oracle9i: SQL Version: 22.0 QUESTION NO: 1 Oracle 1z0-007 Exam Examine the data in the EMPLOYEES and DEPARTMENTS tables. You want to retrieve all employees, whether or not

More information

Join, Sub queries and set operators

Join, Sub queries and set operators Join, Sub queries and set operators Obtaining Data from Multiple Tables EMPLOYEES DEPARTMENTS Cartesian Products A Cartesian product is formed when: A join condition is omitted A join condition is invalid

More information

Database Programming with SQL

Database Programming with SQL Database Programming with SQL 12-2 Objectives In this lesson, you will learn to: Construct and execute an UPDATE statement Construct and execute a DELETE statement Construct and execute a query that uses

More information

Enhancements and New Features in Oracle 12c Summarized

Enhancements and New Features in Oracle 12c Summarized Enhancements and New Features in Oracle 12c Summarized In this blog post I would be highlighting few of the features that are now available on Oracle Database 12cRelease. Here listing below in a summarized

More information

ÇALIŞMA TEST SORULARI

ÇALIŞMA TEST SORULARI 1. A table has the following definition: EMPLOYEES( EMPLOYEE_ID NUMBER(6) NOT NULL, LAST_NAME VARCHAR2(10) NOT NULL, MANAGER_ID VARCHAR2(6)) and contains the following rows: (1001, 'Bob Bevan', '200')

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z0-144 Title : Oracle Database 11g: Program with PL/SQL Vendor : Oracle Version : DEMO Get Latest &

More information

1 Prepared By Heena Patel (Asst. Prof)

1 Prepared By Heena Patel (Asst. Prof) Topic 1 1. What is difference between Physical and logical data 3 independence? 2. Define the term RDBMS. List out codd s law. Explain any three in detail. ( times) 3. What is RDBMS? Explain any tow Codd

More information

Misc. Triggers Views Roles Sequences - Synonyms. Eng. Mohammed Alokshiya. Islamic University of Gaza. Faculty of Engineering

Misc. Triggers Views Roles Sequences - Synonyms. Eng. Mohammed Alokshiya. Islamic University of Gaza. Faculty of Engineering Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 9 Misc. Triggers Views Roles Sequences - Synonyms Eng. Mohammed Alokshiya December 7, 2014 Views

More information

Additional Practice Solutions

Additional Practice Solutions Additional Practice Solutions Additional Practices Solutions The following exercises can be used for extra practice after you have discussed the data manipulation language (DML) and data definition language

More information

1Z0-007 ineroduction to oracle9l:sql

1Z0-007 ineroduction to oracle9l:sql ineroduction to oracle9l:sql Q&A DEMO Version Copyright (c) 2007 Chinatag LLC. All rights reserved. Important Note Please Read Carefully For demonstration purpose only, this free version Chinatag study

More information

Database Foundations. 6-9 Joining Tables Using JOIN. Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-9 Joining Tables Using JOIN. Copyright 2014, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-9 Roadmap Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML Transaction Control Language (TCL)

More information

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables INDEX Exercise No Title 1 Basic SQL Statements 2 Restricting and Sorting Data 3 Single Row Functions 4 Displaying data from multiple tables 5 Creating and Managing Tables 6 Including Constraints 7 Manipulating

More information

2. What privilege should a user be given to create tables? The CREATE TABLE privilege

2. What privilege should a user be given to create tables? The CREATE TABLE privilege Practice 1: Solutions To complete question 6 and the subsequent questions, you need to connect to the database using isql*plus. To do this, launch the Internet Explorer browser from the desktop of your

More information

Displaying Data from Multiple Tables. Copyright 2004, Oracle. All rights reserved.

Displaying Data from Multiple Tables. Copyright 2004, Oracle. All rights reserved. Displaying Data from Multiple Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data

More information

GIFT Department of Computing Science. CS-217/224: Database Systems. Lab-5 Manual. Displaying Data from Multiple Tables - SQL Joins

GIFT Department of Computing Science. CS-217/224: Database Systems. Lab-5 Manual. Displaying Data from Multiple Tables - SQL Joins GIFT Department of Computing Science CS-217/224: Database Systems Lab-5 Manual Displaying Data from Multiple Tables - SQL Joins V3.0 5/5/2016 Introduction to Lab-5 This lab introduces students to selecting

More information

Oracle PL/SQL Best Practices Part 1. John Mullins

Oracle PL/SQL Best Practices Part 1. John Mullins Oracle PLSQL Best Practices Part 1 John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.comwebinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

Table of Contents. PDF created with FinePrint pdffactory Pro trial version Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.

More information

Tables From Existing Tables

Tables From Existing Tables Creating Tables From Existing Tables After completing this module, you will be able to: Create a clone of an existing table. Create a new table from many tables using a SQL SELECT. Define your own table

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

Slides by: Ms. Shree Jaswal

Slides by: Ms. Shree Jaswal Slides by: Ms. Shree Jaswal A trigger is a statement that is executed automatically by the system as a side effect of a modification to the database. To design a trigger mechanism, we must: Specify the

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

Procedural Language Structured Query Language (PL/SQL)

Procedural Language Structured Query Language (PL/SQL) The Islamic University of Gaza Faculty of Engineering Dept. of Computer Engineering Database Lab (ECOM 4113) Lab 7 Procedural Language Structured Query Language (PL/SQL) Eng. Ibraheem Lubbad Structured

More information

C Examcollection.Premium.Exam.58q

C Examcollection.Premium.Exam.58q C2090-610.Examcollection.Premium.Exam.58q Number: C2090-610 Passing Score: 800 Time Limit: 120 min File Version: 32.2 http://www.gratisexam.com/ Exam Code: C2090-610 Exam Name: DB2 10.1 Fundamentals Visualexams

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

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course.

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course. Assignment 6 This assignment includes hands-on exercises in the Oracle VM. It has two Parts. Part 1 is SQL Injection Lab and Part 2 is Encryption Lab. Deliverables You will be submitting evidence that

More information

Introduction to Explicit Cursors. Copyright 2008, Oracle. All rights reserved.

Introduction to Explicit Cursors. Copyright 2008, Oracle. All rights reserved. Introduction to Explicit Cursors Introduction to Explicit Cursors 2 What Will I Learn? In this lesson, you will learn to: Distinguish between an implicit and an explicit cursor Describe why and when to

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

Oracle Class VI. Exception Block Cursors For Loops

Oracle Class VI. Exception Block Cursors For Loops Oracle Class VI Exception Block Cursors For Loops Pl/sql some more basics Loop through records, manipulating them one at a time. Keep code secure by offering encryption, and storing code permanently on

More information

Oracle 12c New Features For Developers

Oracle 12c New Features For Developers Oracle 12c New Features For Developers Presented by: John Jay King Download this paper from: 1 Session Objectives Learn new Oracle 12c features that are geared to developers Know how existing database

More information

The PL/SQL Engine: PL/SQL. A PL/SQL Block: Declaration Section. Execution Section. Declaration Section 3/24/2014

The PL/SQL Engine: PL/SQL. A PL/SQL Block: Declaration Section. Execution Section. Declaration Section 3/24/2014 PL/SQL The PL/SQL Engine: PL/SQL stands for Procedural Language extension of SQL. PL/SQL is a combination of SQL along with the procedural features of programming languages. It was developed by Oracle

More information

DEFAULT Values, MERGE, and Multi-Table Inserts. Copyright 2009, Oracle. All rights reserved.

DEFAULT Values, MERGE, and Multi-Table Inserts. Copyright 2009, Oracle. All rights reserved. DEFAULT Values, MERGE, and Multi-Table Inserts What Will I Learn? In this lesson, you will learn to: Understand when to specify a DEFAULT value Construct and execute a MERGE statement Construct and execute

More information

Oracle Database: SQL and PL/SQL Fundamentals

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

More information

Oracle Database 12c: New Features for Administrators Duration: 5 Days

Oracle Database 12c: New Features for Administrators Duration: 5 Days Oracle Database 12c: New Features for Administrators Duration: 5 Days What you will learn In the Oracle Database 12c: New Features for Administrators course, you ll learn about the new and enhanced features

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

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

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

More information

Course: Oracle Database 12c R2: Administration Workshop Ed 3

Course: Oracle Database 12c R2: Administration Workshop Ed 3 Course: Oracle Database 12c R2: Administration Workshop Ed 3 The Oracle Database 12c R2: Administration Workshop Ed 3 course is designed to provide you with a firm foundation in administration of an Oracle

More information

Exam Code: 1z Exam Name: Ineroduction to oracle9l:sql. Vendor: Oracle. Version: DEMO

Exam Code: 1z Exam Name: Ineroduction to oracle9l:sql. Vendor: Oracle. Version: DEMO Exam Code: 1z0-007 Exam Name: Ineroduction to oracle9l:sql Vendor: Oracle Version: DEMO Part: A 1: Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME

More information

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

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 New PL/SQL Capabilities in Oracle Database 12c Bryn Llewellyn, Distinguished Product Manager, Database Server Technologies Division Oracle HQ 2 The following is intended to outline our general product

More information

OVERVIEW OF THE TYPES OF PL/SQL BLOCKS:

OVERVIEW OF THE TYPES OF PL/SQL BLOCKS: OVERVIEW OF THE TYPES OF PL/SQL BLOCKS: The P/L SQL blocks can be divided into two broad categories: Anonymous Block: The anonymous block is the simplest unit in PL/SQL. It is called anonymous block because

More information

Creating Other Schema Objects

Creating Other Schema Objects Creating Other Schema Objects Objectives After completing this lesson, you should be able to do the following: Create simple and complex views Retrieve data from views Database Objects Object Table View

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Section I : Section II : Question 1. Question 2. Question 3.

Section I : Section II : Question 1. Question 2. Question 3. Computer Science, 60-415 Midterm Examiner: Ritu Chaturvedi Date: Oct. 27 th, 2011 Student Name: Student Number: INSTRUCTIONS (Please Read Carefully) Examination Period is 1 hour and 15 minutes Answer all

More information

Database Programming with PL/SQL

Database Programming with PL/SQL Database Programming with PL/SQL 3-2 Objectives This lesson covers the following objectives: Recognize the SQL statements that can be directly included in a PL/SQL executable block Construct and execute

More information

What s New in MariaDB Server 10.3

What s New in MariaDB Server 10.3 What s New in MariaDB Server 10.3 What s New in MariaDB Server 10.3 Database Compatibility Enhancements PL/SQL Compatibility for MariaDB Stored Functions including packages PL/SQL Compatibility for MariaDB

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

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps:// IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 1Z0-146 Title : Oracle database 11g:advanced pl/sql Version : Demo 1 / 9 1.The database instance was

More information

Exam: 1Z Title : Introduction to Oracle9i: SQL. Ver :

Exam: 1Z Title : Introduction to Oracle9i: SQL. Ver : Exam: 1Z0-007 Title : Introduction to Oracle9i: SQL Ver : 05.14.04 QUESTION 1 A: This query uses "+" to create outer join as it was in Oracle8i, but it requires also usage of WHERE clause in SELECT statement.b:

More information

Lab # 4. Data Definition Language (DDL)

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

More information

Denys Xavier denys org br) has a non-transferable license to use this Student Guide

Denys Xavier denys org br) has a non-transferable license to use this Student Guide D64250GC11 Edition 1.1 March 2012 D76392 Oracle Database: Develop PL/SQL Program Units Additional Practices Authors Prathima Trivedi Lauran Serhal Technical Contributors and Reviewers Diganta Choudhury

More information

Oracle SQL Developer Workshop

Oracle SQL Developer Workshop Oracle SQL Developer Workshop 0419 904 458 www.sagecomputing.com.au Edition AUSOUG Conference 2006 SAGE Computing Services 2005-2006 SAGE Computing Services believes the information in this documentation

More information

Oracle MOOC: SQL Fundamentals

Oracle MOOC: SQL Fundamentals Week 4 Homework for Lesson 4 Homework is your chance to put what you've learned in this lesson into practice. This homework is not "graded" and you are encouraged to write additional code beyond what is

More information

Oracle Database 10g: SQL Fundamentals II

Oracle Database 10g: SQL Fundamentals II D17111GC30 Edition 3.0 January 2009 D57874 Oracle Database 10g: SQL Fundamentals II Student Guide Volume 2 Authors Salome Clement Chaitanya Koratamaddi Priya Vennapusa Technical Contributors and Reviewers

More information

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ: Oracle 1z0-146 1z0-146 Oracle Database 11g: Advanced PL/SQL Practice Test Version 1.1 QUESTION NO: 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL

More information

UNIT-IV (Relational Database Language, PL/SQL)

UNIT-IV (Relational Database Language, PL/SQL) UNIT-IV (Relational Database Language, PL/SQL) Section-A (2 Marks) Important questions 1. Define (i) Primary Key (ii) Foreign Key (iii) unique key. (i)primary key:a primary key can consist of one or more

More information

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 1Z0-047 Title

More information

COSC344 Database Theory and Applications. Lecture 11 Triggers

COSC344 Database Theory and Applications. Lecture 11 Triggers COSC344 Database Theory and Applications Lecture 11 Triggers COSC344 Lecture 11 1 Overview Last Lecture - PL/SQL This Lecture - Triggers - Source: Lecture notes, Oracle documentation Next Lecture - Java

More information

Database Programming with SQL

Database Programming with SQL Database Programming with SQL 2-1 Objectives This lesson covers the following objectives: Apply the concatenation operator to link columns to other columns, arithmetic expressions, or constant values to

More information

Lecture 08. Spring 2018 Borough of Manhattan Community College

Lecture 08. Spring 2018 Borough of Manhattan Community College Lecture 08 Spring 2018 Borough of Manhattan Community College 1 The SQL Programming Language Recent versions of the SQL standard allow SQL to be embedded in high-level programming languages to help develop

More information

Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l

Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l Course Topics: Introduction Overview Oracle Database Innovation Enterprise Cloud

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

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

Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. Creating a Database Alias 2. Introduction to SQL Relational Database Concept Definition of Relational Database

More information

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA Oracle Database 12c The Best Oracle Database 12c Tuning Features for Developers and DBAs Presented by: Alex Zaballa, Oracle DBA Alex Zaballa http://alexzaballa.blogspot.com/ 147 and counting @alexzaballa

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

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database: SQL Fundamentals I. Q&As: 292

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database: SQL Fundamentals I. Q&As: 292 Vendor: Oracle Exam Code: 1Z1-051 Exam Name: Oracle Database: SQL Fundamentals I Q&As: 292 QUESTION 1 Evaluate the SQL statement: TRUNCATE TABLE DEPT; Which three are true about the SQL statement? (Choose

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 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

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

Oracle 12c Key Features for Developers. Presenter V.Hariharaputhran

Oracle 12c Key Features for Developers. Presenter V.Hariharaputhran Oracle 12c Key Features for Developers Presenter V.Hariharaputhran www.puthranv.com Who am I Senior Oracle Developer DBA with 12 years of experience -Data Modeler -Developer -SQL Tuning -Replication/Migration

More information

Introduction to Oracle9i: SQL

Introduction to Oracle9i: SQL Introduction to Oracle9i: SQL Additional Practices Volume 3 40049GC11 Production 1.1 October 2001 D33992 Authors Nancy Greenberg Priya Nathan Technical Contributors and Reviewers Josephine Turner Martin

More information

Oracle Introduction to PL/SQL

Oracle Introduction to PL/SQL Oracle Introduction to PL/SQL 1. For which column would you create an index? a. a column that is small b. a column that is updated frequently c. a column containing a wide range of values d. a column with

More information

Introduction to Relational Database Concepts. Copyright 2011, Oracle. All rights reserved.

Introduction to Relational Database Concepts. Copyright 2011, Oracle. All rights reserved. Introduction to Relational Database Concepts Copyright 2011, Oracle. All rights reserved. What Will I Learn? Objectives In this lesson, you will learn to: Define a primary key Define a foreign key Define

More information

DB2 UDB: App Programming - Advanced

DB2 UDB: App Programming - Advanced A Access Methods... 8:6 Access Path Selection... 8:6 Access Paths... 5:22 ACQUIRE(ALLOCATE) / RELEASE(DEALLOCATE)... 5:14 ACQUIRE(USE) / RELEASE(DEALLOCATE)... 5:14 Active Log... 9:3 Active Logs - Determining

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2017 CS 348 (Intro to DB Mgmt) SQL

More information

Fine Grained Access Control

Fine Grained Access Control Fine Grained Access Control Fine Grained Access Control (FGAC) in Oracle 8i gives you the ability to dynamically attach, at runtime, a predicate (the WHERE clause) to all queries issued against a database

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Alexandra Roatiş David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2016 CS 348 SQL Winter

More information

Oracle 1Z Oracle Database 11g: Administration I. Download Full Version :

Oracle 1Z Oracle Database 11g: Administration I. Download Full Version : Oracle 1Z0-052 Oracle Database 11g: Administration I Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-052 D. Functionbased index Answer: A QUESTION: 191 The user HR owns the EMP

More information

Prepared by Manash Deb website: 1

Prepared by Manash Deb website:  1 S.Q.L. SQL means Structured Query Language. SQL is a database computer language designed for managing data in relational database management systems (RDBMS). RDBMS technology is based on the concept of

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Spring 2016 CS 348 (Intro to DB Mgmt) SQL

More information

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology Introduction A database administrator (DBA) is a person responsible for the installation,

More information

Oracle Database 12c R2: Administration Workshop Ed 3 NEW

Oracle Database 12c R2: Administration Workshop Ed 3 NEW Oracle Database 12c R2: Administration Workshop Ed 3 NEW Duration: 5 Days What you will learn The Oracle Database 12c R2: Administration Workshop Ed 3 course is designed to provide you with a firm foundation

More information

RMOUG Training Days 2018

RMOUG Training Days 2018 RMOUG Training Days 2018 Pini Dibask Product Manager for Database Tools February 22 nd, 2018 Oracle Database Locking Mechanism Demystified About the Speaker Pini Dibask, Product Manager for Database Tools,

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

Creating Other Schema Objects. Copyright 2004, Oracle. All rights reserved.

Creating Other Schema Objects. Copyright 2004, Oracle. All rights reserved. Creating Other Schema Objects Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Create simple and complex views Retrieve data

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

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

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

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information