Oracle 12c and Oracle 11gR2 New Features For Developers
|
|
|
- Irene Ashlynn Newton
- 9 years ago
- Views:
Transcription
1 Oracle 12c and Oracle 11gR2 New Features For Developers Presented by: John Jay King Download this paper from: 1
2 Session Objectives Learn new Oracle 12c and Oracle 11gR2 features that are geared to developers Know how existing database features have been improved in Oracle Become aware of some DBA-oriented features that impact developers 2
3 Who Am I? John King Partner, King Training Resources Oracle Ace Director Member Oak Table Network Providing training to Oracle and IT community for over 25 years Techie who knows Oracle, ADF, SQL, Java, and PL/SQL pretty well (along with many other topics) Leader in Service Oriented Architecture (SOA) Member of ODTUG (Oracle Development Tools User Group) Board of Directors Charter member of IOUG 3
4 Oracle 11g Environment changes New/improved SQL & PL/SQL statements SQL & PL/SQL Results Caches Java, JDBC, and SQLJ improvements New Analytic (and other) Functions Java and XML Enhancements Pro*C/Pro*COBOL & OCI Enhancements Edition-Based Redefinition (EBR) 4
5 Recent Releases Oracle 11g R1 August 2007 Oracle 11g R2 September 2009 Oracle 12c R1 June
6 Oracle 11g R2 Results Cache Improvements New Analytic Functions XML Enhancements Java Enhancements Pro*C/Pro*COBOL Enhancements Edition-Based Redefinition (EBR) 6
7 Oracle 12c Exciting DBA Stuff Multi-tenant Architecture: (first architecture change to Oracle since V6 in 1988!) Container Database (CDB) Pluggable Database(s) (PDB) Performance Improvements: Improved optimization Enhanced Statistics & New Histograms Adaptive Execution Plans More cool stuff (watch OOW announcements ) 7
8 Oracle 12c On Our Agenda SELECT improvements: Top-n & Pagination, pattern matching, outer join improvements Table definition improvements: expanded columns, identity columns, default improvements, invisible columns PL/SQL in WITH clause Temporal Validity Online DML operations Truncate CASCADE EBR improvements 8
9 Virtual Columns Beginning with Oracle 11g tables may now include virtual columns (dynamic values; not stored) Virtual columns obtain their value by evaluating an expression that might use: Columns from the same table Constants Function calls (user-defined functions or SQL functions) Virtual columns might be used to: Eliminate some views Control table partitioning (DBA stuff) Manage the new "binary" XMLType data Virtual columns may be indexed! 9
10 Creating Virtual Column CREATE TABLE NEWEMP (EMPNO NUMBER(4) NOT NULL, ENAME VARCHAR2(10), JOB VARCHAR2(9), MGR NUMBER(4), HIREDATE DATE, SAL NUMBER(7, 2), COMM NUMBER(7, 2), INCOME NUMBER(9,2) GENERATED ALWAYS AS (NVL("SAL",0)+NVL("COMM",0)) VIRTUAL, DEPTNO NUMBER(2)); Datatype defaults if not specified (based upon expression) Expression result appears as data in table but is generated generated always and virtual not required, but add clarity 10
11 Adding Virtual Columns Oracle 11g also allows specification of Virtual Columns via ALTER TABLE alter table myemp add (totpay as (nvl(sal,0)+nvl(comm,0))); 11
12 PIVOT/UNPIVOT Oracle joins other vendors by adding the PIVOT clause to the SELECT statement Adding a PIVOT clause to a SELECT allows rotation of rows into columns while performing aggregation to create cross-tabulation queries The PIVOT clause: Computes aggregations (implicit GROUP BY of all columns not in PIVOT clause) Output of all implicit grouping columns followed by new columns generated by PIVOT UNPIVOT performs the same activity but converts columns into ROWS (does not undo PIVOT) Clever developers have used PL/SQL and/or CASE to achieve PIVOT results before, but now it is part of Oracle's standard SQL 12
13 PIVOT Example select * from (select job,deptno,income from newemp) query1 pivot (avg(income) for deptno in (10 AS ACCOUNTING, 20 AS RESEARCH, 30 AS SALES)) order by job; Job ACCOUNTING RESEARCH SALES ANALYST CLERK MANAGER PRESIDENT SALESMAN
14 UNPIVOT Example select * from pivot_emp_table unpivot include nulls (avgpay for dept in (ACCOUNTING,RESEARCH,SALES)) order by job; JOB DEPT AVGPAY ANALYST ACCOUNTING ANALYST RESEARCH ANALYST SALES /*** more rows ***/ SALESMAN ACCOUNTING SALESMAN RESEARCH SALESMAN SALES
15 Invisible Indexes Sometimes the optimizer selects the wrong index Beginning with Oracle 11g it is possible to make an index invisible to the optimizer Use ALTER TABLE to make it visible/invisible create index mytab_ix on mytab(mykey) invisible alter intex mytab_ix invisible; alter index mytab_ix visible; 15
16 Results Caching Caching is nothing new to Oracle; Oracle has cached data for a long time now What s new is the caching of results This is similar to how a Materialized View works but is more-dynamic New result_cache hint asks Oracle to cache query results 16
17 Result Cache Test Query select cust_last_name ', ' cust_first_name cust_name,cust_city,prod_id,count(*) nbr_sales from sh.customers cust join sh.sales sales on cust.cust_id = sales.cust_id where country_id = and prod_id in (120,126) group by cust_last_name,cust_first_name,cust_city,prod_id having count(*) > 10 order by cust_name,nbr_sales; This query was run three times in succession with timing turned on; resulting timings were Elapsed: 00:00:00.67 Elapsed: 00:00:00.46 Elapsed: 00:00:
18 Using Result Cache select /*+ result_cache */ cust_last_name ', ' cust_first_name cust_name,cust_city,prod_id,count(*) nbr_sales from sh.customers cust join sh.sales sales on cust.cust_id = sales.cust_id where country_id = and prod_id in (120,126) group by cust_last_name,cust_first_name,cust_city,prod_id having count(*) > 10 order by cust_name,nbr_sales; This query was run three times in succession with timing turned on; resulting timings were Elapsed: 00:00:00.23 Elapsed: 00:00:00.01 Elapsed: 00:00:
19 PL/SQL Result Cache PL/SQL allows specification of a result_cache for function/procedure calls Add the clause result_cache just before the AS/IS keyword in the Function and/or Procedure definition (Oracle 11g R1 also used now-obsolete relies_on clause) The results of a call to the Function or Procedure with a specific set of input parameters is stored for later re-use 19
20 PL/SQL Result Cache - Code CREATE OR REPLACE FUNCTION RESULT_CACHE_ON (in_cust_id sh.customers.cust_id%type, in_prod_id sh.sales.prod_id%type) RETURN number RESULT_CACHE -- RELIES_ON (SH.CUSTOMERS, SH.SALES) authid definer AS sales number(7,0); BEGIN select count(*) nbr_sales into sales from sh.customers cust join sh.sales sales on cust.cust_id = sales.cust_id where cust.cust_id = in_cust_id and prod_id = in_prod_id; return sales; EXCEPTION when no_data_found then return 0; END RESULT_CACHE_ON; 20
21 PL/SQL Result Cache - Timings 1* select result_cache_on(4977,120) from dual RESULT_CACHE_ON(4977,120) Elapsed: 00:00: * select result_cache_on(4977,120) from dual RESULT_CACHE_ON(4977,120) Elapsed: 00:00: * select result_cache_on(4977,120) from dual RESULT_CACHE_ON(4977,120) Elapsed: 00:00:
22 PL/SQL Enhancements Oracle 11g s changes to PL/SQL are very interesting to the developer: PL/SQL has been improved to include all of the XMLType, BLOB, Regular Expression, and other functionality added to SQL Improvements have been made to the compiler New PL/SQL data types Sequence number use is easier continue added for loop control CALL syntax has improved 22
23 Compiler Enhancement In previous releases, the PL/SQL compiler required a standalone C compiler Oracle 11g now provides a native compiler for PL/SQL eliminating the need for a separate compiler ALTER PROCEDURE my_proc COMPILE PLSQL_CODE_TYPE=NATIVE REUSE SETTINGS; ALTER PROCEDURE my_proc COMPILE PLSQL_CODE_TYPE=INTERPRETED REUSE SETTINGS; ALTER SESSION SET PLSQL_CODE_TYPE=NATIVE; ALTER SESSION SET PLSQL_CODE_TYPE=INTERPRETED; 23
24 Compound Triggers Compound triggers allow the same code to be shared across timing points (previously accomplished using packages most of the time) Compound triggers have unique declaration and code sections for timing point All parts of a compound trigger share a common state that is initiated when the triggering statement starts and is destroyed when the triggering statement completes (even if an error occurs) 24
25 Compound Trigger Timing If multiple compound triggers exist for the same table; they fire together: All before statement code fires first All before row code fires next All after row code fires next All after statement code finishes The sequence of trigger execution can be controlled only using the FOLLOWS clause 25
26 Compound Trigger Syntax CREATE TRIGGER compound_trigger FOR UPDATE OF sal ON emp COMPOUND TRIGGER -- Global Declaration Section BEFORE STATEMENT IS BEGIN BEFORE EACH ROW IS BEGIN AFTER EACH ROW IS BEGIN END compound_trigger; / 26
27 TRIGGER FOLLOWS Oracle 11g adds the FOLLOWS clause to trigger creation allowing control over the sequence of execution when multiple triggers share a timing point FOLLOWS indicates the including trigger should happen after the named trigger(s); the named trigger(s) must already exist If some triggers use FOLLOWS and others do not; only the triggers using FOLLOWS are guaranteed to execute in a particular sequence 27
28 How FOLLOWS Works FOLLOWs only distinguishes between triggers at the same timing point: BEFORE statement BEFORE row AFTER row AFTER statement INSTEAD OF In the case of a compound trigger, FOLLOWS applies only to portions of triggers at the same timing point (e.g. if a BEFORE ROW simple trigger names a compound trigger with FOLLOWS the compound trigger must have a BEFORE ROW section and vice versa 28
29 FOLLOWS Syntax CREATE OR REPLACE TRIGGER mytrigger BEFORE/AFTER/INSTEAD OF someevent FOR EACH ROW FOLLOWS someschema.othertrigger WHEN (condition=true) /* trigger body */ FOLLOWS may specify a list (and designate sequence) FOLLOWS othertrigger1, othertrigger2, etc 29
30 New PL/SQL Datatypes Oracle 11g adds three new PL/SQL datatypes: Simple_integer, Simple_float, Simple_double The three new datatypes take advantage of native compilation features providing faster arithmetic via direct hardware implementation SIMPLE_INTEGER provides a binary integer that is neither checked for nulls nor overflows SIMPLE_INTEGER values may range from to and is always NOT NULL Likewise, SIMPLE_FLOAT and SIMPLE_DOUBLE provide floating point without null or overflow checks 30
31 Example SIMPLE_INTEGER declare -- mytestvar pls_integer := ; mytestvar simple_integer := ; begin loop mytestvar := mytestvar + 1; dbms_output.put_line('value of mytestvar is now ' mytestvar); exit when mytestvar < 10; end loop; end; Results in: Value of mytestvar is now Value of mytestvar is now Value of mytestvar is now
32 Sequences in PL/SQL Sequence values NEXTVAL and CURRVAL may be use in PL/SQL assignment statement myvar := myseq.nextval; 32
33 CONTINUE CONTINUE iterates a loop; branching over the rest of the code in the loop and returning to the loop control statement begin dbms_output.put_line('counting down to blastoff!'); for loopctr in reverse 1.. ctr loop if loopctr in (4,2) then continue; end if; dbms_output.put_line(to_char(loopctr)); end loop; dbms_output.put_line('blast Off!'); end; Counting down to blastoff! <-Values 4 and 2 do not appear in the output 1 Blast Off! 33
34 REGEXP_COUNT REGEXP_COUNT counts the number of times a pattern occurs in a source string select ename,regexp_count(ename,'l',1,'i') from emp; SMITH 0 ALLEN 2 WARD 0 JONES 0 MARTIN 0 BLAKE 1 /** more rows ***/ MILLER 2 string expression and/or column to match pattern Regular Expression pattern Beginning position in the source string (default=1) Match parameters (i = case insensitive, c = case sensitive, m = multiple line source delimited by ^ or $, n = matches. newline characters (default no), and x = ignore whitespace characters (default is to match) 34
35 CALL with Mixed Parameters PL/SQL allows function and procedure parameters to be specified in two ways; by position and by name With Oracle 11g SQL, parameter types may now be mixed Given the following function: CREATE OR REPLACE FUNCTION TEST_CALL (inval1 IN NUMBER, inval2 IN NUMBER, inval3 IN NUMBER) RETURN NUMBER AS BEGIN RETURN inval1 + inval2 + inval3; END TEST_CALL; The following calls all now work: test_call(vara,varb,varc) test_call(inval3=>varc,inval1=>vara,inval2=>varb) test_call(vara,inval3=>varc,inval2=>varb) 35
36 LISTAGG (11gR2) LISTAGG provides lists of lower-level columns after aggregation select department_id, listagg(last_name, ', ') within group (order by last_name) dept_employees from hr.employees where department_id in (20,30) group by department_id order by department_id; DEPARTMENT_ID DEPT_EMPLOYEES Fay, Hartstein 30 Baida, Colmenares, Himuro, Khoo, Raphaely, Tobias 36
37 NTH_VALUE (11gR2) NTH_VALUE simplifies the process of retrieving the n-th value select distinct department_id,first_value(salary) ignore nulls over (partition by department_id order by salary desc rows between unbounded preceding and unbounded following) "1st",nth_value(salary,2) ignore nulls over (partition by department_id order by salary desc rows between unbounded preceding and unbounded following) "2nd",nth_value(salary,3) ignore nulls over (partition by department_id order by salary desc rows between unbounded preceding and unbounded following) "3rd" from hr.employees where department_id = 80 order by department_id, "1st", "2nd", "3rd"; DEPARTMENT_ID 1st 2nd 3rd
38 Recursive Subquery Oracle s CONNECT BY has allowed definition of a hierarchical relationship for years; now an ISO-standard option is available: with empconnect(last_name,employee_id,manager_id,lvl) as (select last_name, employee_id, manager_id, 1 lvl2 from hr.employees where manager_id is null union all select emp.last_name, emp.employee_id, emp.manager_id, ec.lvl+1 from hr.employees emp, empconnect ec where emp.manager_id = ec.employee_id) SEARCH DEPTH FIRST BY last_name SET order_by select lvl,lpad(' ',3*lvl, ' ') last_name empname from empconnect order by order_by 38
39 External Directory Features With Oracle 11gR2 the EXECUTE privilege may be granted for Directory objects; allowing execution of code stored in host operating system files Pre-processing programs may be specified for External files used via Oracle Loader (perhaps to unzip, decrypt, translate, ) 39
40 Data Pump Legacy Mode Oracle 11gR2 has provided legacy mode for Oracle Data Pump Allows execution of existing Import/Export scripts When Data Pump recognizes Import/Export parameters it automatically switches to legacy mode and executes as desired 40
41 11gR2 XML Enhancements Binary XML has been enhanced with significant performance improvements Default XMLType storage is now Binary using SecureFile (used to be Unstructured) Unstructured XMLType is deprecated XMLIndex improved allowing indexing for all XMLTypes and for fragments via XPath and partitioning Partitioning now allowed for XMLType data 41
42 Binary XML Oracle continues its XML leadership in Oracle 11g Biggest change is the addition of a new binary XMLType binary xml is a third method for storing XML data in the database structured and unstructured XMLType still supported Oracle 11g s XML processors includes a binary XML encoder, decoder, and token manager XML 1.0 text may be parsed via SAX events with or without a corresponding schema into binary XML form binary XMLType allows optimization of some XML applications by reducing memory and CPU expense 42
43 Next-Gen. LOB: Securefile Oracle 11g provides a new, more-secure, faster mechanism for storing Large Objects (e.g. XMLType data) LOB column specifications in CREATE TABLE or ALTER TABLE include STORE AS SECUREFILE SECUREFILE provides compression and encryption for Large OBjects (LOBs) Oracle 11g will detect duplicate LOB data and conserve space by only storing one copy ("de-duplication" if SECUREFILE is specified). PL/SQL packages and OCI functions have been added to take advantage of SECUREFILE LOBs SECUREFILE lobs provide higher performance through reduced size and resource use. 43
44 XML Indexes Replaces CTXSYS.CTXXPATH indexes XML-specific index type, indexes document XML structure Designed to improve indexing unstructured and hybrid XML Determines XPath expressions for a document's XML tags Indexes singleton (scalar) nodes and items that occur multiple times XMLIndex record document child, descendant, and attribute axes (hierarchy) information XMLIndex is be design general (like CTXXPATH) rather than specific like B-tree indexes XMLIndex applies to all possible XPath document targets XMLIndex may be used for XMLQuery, XMLTable, XMLExists, XMLCast, extract, extractvalue, and existsnode XMLIndex helps anywhere in the query, not just in the WHERE clause 44
45 Edition-Based Redefinition (EBR) The quest to eliminate downtime has led to a desire to provide "Online Application Upgrade" where an application need not be taken down when upgrades are applied Users of the existing system continue uninterrupted Users of the upgraded system use new code immediately 45
46 How? Oracle 11gR2 Edition-Based Redefinition adds a new non-schema "edition" of an application including all of the original edition's PL/SQL, views, and synonyms; the new edition may be modified as desired then tested and deployed without impacting the users of the original edition Once the new edition is ready for complete rollout it may be released This is accomplished by a combination of: Editioning Views Showing the data "as of" a specific edition Cross-Edition Triggers Triggers keeping "old" and "new" editions synchronized 46
47 Oracle 12c New Features SELECT improvements: Top-n & Pagination, pattern matching, outer join improvements Table definition improvements: expanded columns, identity columns, default improvements, invisible columns PL/SQL in WITH clause Temporal Validity Online DML operations Truncate CASCADE EBR improvements 47
48 New SQL Developer Oracle SQL Developer 4.0 Early Adopter 2 is now available for download Many new features & supports Oracle 12c (still a couple of wrinkles in Early Adopter release ) 48
49 Top-N & Pagination Oracle 12c adds top-n type queries and paginated queries FETCH FIRST/LAST nn ROWS FIRST/LAST n PERCENT ROWS OFFSET nn ROWS Optimizer uses analytics under the covers to make this work 49
50 Top-N: Base Query Original query uses rownum note sequence of data select ename,sal from emp -- ENAME where rownum < 5 order by sal desc; SAL JONES 2975 ALLEN 1600 WARD 1250 SMITH
51 Top-N: First nn ROWS Here the first five rows (by value) are selected; note no need for analytics select ename,sal from emp order by sal desc fetch first 5 rows only; ENAME SAL KING 5000 SCOTT 3000 FORD 3000 JONES 2975 BLAKE
52 Pagination The OFFSET clause may start processing at a given row; when (optionally) paired with FETCH allows pagination in query select ename,sal from emp order by sal desc offset 2 rows fetch first 5 rows only; ENAME SAL FORD 3000 JONES 2975 BLAKE 2850 CLARK 2450 ALLEN
53 Top-N: Percentage Top-N may use a percentage rather than a number of rows select ename,sal from emp order by sal desc offset 2 rows fetch first 5 percent rows only; ENAME SAL SCOTT
54 Matching Patterns Enhanced ability to use Regular Expressions enabled by Oracle 12c s MATCH_RECOGNIZE Using syntax similar to the MODEL clause and Analytics rows may be compared to other rows using Regular Expressions (beyond capabilities of LAG/LEAD) 54
55 MATCH_RECOGNIZE MATCH_RECOGNIZE includes: PARTITION Segregate data ORDER BY Order with partitions MEASURES Define output columns AFTER Return single/multiple rows PATTERN Define regular expression DEFINE Specify expression tags 55
56 Sample MATCH_RECOGNIZE The code on the following pages creates a report illustrating sales patterns for a specific product over time 56
57 Sample Code 1 SELECT uses query in from clause to aggregate SH.SALES data by prod_id and day (truncated time_id) select * from (select prod_id,trunc(time_id)time_id, sum(amount_sold) amount_sold from sh.sales where prod_id = 148 and extract(year from time_id) in (2000,2001) group by prod_id, trunc(time_id)) 57
58 Sample Code 2 match_recognize ( partition by prod_id order by time_id measures to_char(strt.time_id,'yyyy-mm-dd') as start_date, to_char(last(down.time_id),'yyyy-mm-dd') as bottom_date, to_char(last(up.time_id),'yyyy-mm-dd') as last(round(down.amount_sold)) as bottom_amt, last(round(up.amount_sold)) as end_amt --one row per match after match skip to last up pattern (strt down+ up+) define 58 end_date, down as down.amount_sold < prev(down.amount_sold), up as up.amount_sold > prev(up.amount_sold) ) matcher order by matcher.prod_id, matcher.start_date
59 Results Here are the results and a sample of the data to see what happened Two result rows: Matching base data rows: JAN JAN JAN FEB FEB
60 Outer Join Improvements Oracle 12c expands the use of the traditional Oracle Outer Join syntax (+) to make it more useful The (+) notation to create null rows may now be used for multiple tables & columns 60
61 Outer Join Example select region_name, country_name, department_name, city, count(employee_id) nbr_emps from hr.regions r, hr.countries c, hr.locations l, hr.departments d, hr.employees e where r.region_id = c.region_id(+) and c.country_id = l.country_id(+) and l.location_id = d.location_id(+) and d.department_id = e.department_id(+) group by region_name,country_name,department_name, city order by region_name,country_name,department_name, city 61
62 CROSS & OUTER APPLY Oracle 12c adds the ability to JOIN values in a generated table collection to regular tables using: CROSS APPLY Join table to generated collection when values match OUTER APPLY Join table to generated collection when values match and create matches for non-match rows too 62
63 Example APPLY - Setup create or replace type name_table_type as table of varchar2(100); create or replace function department_employees (in_department_id varchar2) return name_table_type is mynames name_table_type; begin end; / select cast(collect(last_name ', ' first_name) as name_table_type) into mynames from hr.employees where department_id = in_department_id; return mynames; 63
64 Example APPLY select * from hr.departments d cross apply department_employees(d.department_id) dept_emps; select * from hr.departments d outer apply department_employees(d.department_id) dept_emps; select department_name,department_employees(department_id) deptemps from hr.departments; 64
65 New Column Sizes Oracle 12c increases the maximum size of three datatypes to 32,767 (4,000 before) VARCHAR2 NVARCHAR2 RAW Not default: DBA must set init.ora max_sql_string_size EXTENDED Stored out of line as CLOB when > 4k Now matches PL/SQL variables 65
66 Identity Columns Oracle has had SEQUENCES for years; the IDENTITY column allows use of a SEQUENCE as part of a column definition (much like some competitor databases) Use GENERATED AS IDENTITY clause Default starts with 1 increments by 1 May set values using START WITH and INCREMENT BY 66
67 Identity Example 1 create table id_test1 (id number generated as identity, -- col1 varchar2(10)); insert into id_test1 (col1) values ('A'); insert into id_test1 (col1) values ('B'); insert into id_test1 (col1) values ('C'); -- select * from id_test1; ID COL A 2 B 3 C 67
68 Identity Example 2 create table id_test1 (id number generated as identity ( start with 10 increment by 11), col1 varchar2(10)); -- insert into id_test1 (col1) values ('A'); insert into id_test1 (col1) values ('B'); insert into id_test1 (col1) values ('C'); -- select * from id_test1; ID COL A 21 B 32 C 68
69 Session-Specific Sequence Many systems take advantage of Oracle Global Temporary Tables Rows in Global Temporary Tables either for the life of the session or transaction CREATE SEQUENCE now offers a SESSION parameter allowing a sequence to be reset each time the Global Temporary Table is reinitialized (default is GLOBAL) create sequence session_sample_seq start with 1 increment by 1 session; 69
70 Enhanced Column DEFAULT Oracle 12c enhances the capabilities of column default settings Columns may be set to a default when NULL values are INSERTed Column default values may be based upon a SEQUENCE (.nextval or.currval) 70
71 Example Defaults drop sequence default_test_seq; drop table default_test; create sequence default_test_seq start with 1 increment by 1; create table default_test (id number default default_test_seq.nextval not null, col1 varchar2(10), col2 varchar2(10)default on null 'N/A' not null); insert into default_test (col1,col2) values ('A',null); insert into default_test (col1) values ('B'); insert into default_test (col1,col2) values ('C','test'); select * from default_test; ID COL1 COL A N/A 2 B N/A 3 C test 71
72 Invisible Columns Columns may be marked INVISIBLE in CREATE/ALTER table Invisible columns do not appear in SQL*Plus DESCRIBE or SQL Developer column display (does show in SQL Developer table column list) Invisible columns may be inserted into or omitted from INSERT statements When made visible columns appear at end of table 72
73 Invisible Column Example 1 drop table invisible_test; create table invisible_test ( id number, col1 varchar2(10), col2 varchar2(10) invisible, col3 varchar2(10)); desc invisible_test; Name Null Type ID NUMBER COL1 COL3 VARCHAR2(10) VARCHAR2(10) 73
74 Invisible Column Example 2 insert into invisible_test (col1,col2,col3) values (1,'a','a'); insert into invisible_test (col1,col3) values (2,'b'); insert into invisible_test values (3,'c'); select * from invisible_test; alter table invisible_test modify col2 visible; desc invisible_test; Name Null Type ID COL1 COL3 COL2 NUMBER VARCHAR2(10) VARCHAR2(10) VARCHAR2(10) 74
75 PL/SQL in WITH Oracle 12c allows definition of PL/SQL Functions and Procedures using SQL s Common Table Expression (WITH) Defining PL/SQL locally reduces context-switch costs Local PL/SQL overrides stored PL/SQL with the same name Local PL/SQL is not stored in the database Local PL/SQL is part of the same source code as the SQL that uses it 75
76 Example PL/SQL in WITH with function times_42(inval number) return number as begin end; return inval * 42; select channel_id,count(*) nbr_rows, sum(quantity_sold) qtysold, sum(times_42(cust_id)) cust42 / from sh.sales group by channel_id order by channel_id 76
77 Temporal Validity Oracle 12c adds options to CREATE TABLE, ALTER TABLE, and SELECT allowing use of time dimensions in conjunction with FLASHBACK QUERY Periods are defined using TIMESTAMP columns CREATE/ALTER TABLE s PERIOD clause specifies period starting and ending times SELECT statements AS OF PERIOD FOR clause allows selection of rows falling within periods 77
78 Temporal Validity Example CREATE TABLE temporal_emp_test( employee_id NUMBER, last_name VARCHAR2(50), start_time TIMESTAMP, end_time TIMESTAMP, PERIOD FOR my_time_period (start_time, end_time)); INSERT INTO temporal_emp_test VALUES (1000, 'King', '01-Jan-10', '30-Jun-11'); INSERT INTO temporal_emp_test VALUES (1001, 'Manzo', '01-Jan-11', '30-Jun-11'); INSERT INTO temporal_emp_test VALUES (1002, 'Li', '01-Jan-12', null); SELECT * from temporal_emp_test AS OF PERIOD FOR my_time_period TO_TIMESTAMP('01-Jun-10'); SELECT * from temporal_emp_test VERSIONS PERIOD FOR my_time_period BETWEEN TO_TIMESTAMP('01-Jun-10') AND TO_TIMESTAMP('02-Jun-10'); 78
79 Online DDL Some DDL statements may be performed ONLINE in Oracle 12c, eliminating the DML lock from earlier releases DROP INDEX ONLINE ALTER INDEX UNUSABLE ONLINE ALTER TABLE SET UNUSED ONLINE ALTER TABLE DROP ONLINE ALTER TABLE MOVE PARTITION ONLINE ALTER TABLE MOVE SUBPARTITION. ONLINE 79
80 TRUNCATE CASCADE Oracle 12c s TRUNCATE statement allows the use of CASCADE to eliminate values in tables that are referentially connected TRUNCATE TABLE ID_TEST1 CASCADE; 80
81 EBR Improvements Time does not permit detailed EBR coverage Edition-Based Redefinition made its debut in Oracle 11g and provides an ability to significantly reduce downtime due to changes in PL/SQL and/or SQL Oracle 12c removes some limitations present in 11g 2 implementation of EBR: Materialized Views and Types may be editioned Virtual Columns may be used with EBR 81
82 Wrapping it all Up Oracle 11g and Oracle 12c have both added significant new functionality to the already robust Oracle database environment Oracle 12c represents the first major architectural change to Oracle since Version 6! With the release of Oracle 12c it s probably time for your shop to finally move to 11g R2 While an emphasis is sometimes placed on the features of Oracle that support the Data Base Administrator, this paper shows many Developer-oriented features of great usefulness 82
83 83
84 COLLABORATE 14 IOUG Forum April 6 10, 2014 The Venetian Las Vegas, NV 84
85 85
86 Please Fill Out Session Evaluations Oracle 12c and Oracle 11gR2 New Features For Developers - Session: UGF9765 To contact the author: John King King Training Resources P. O. Box 1780 Scottsdale, AZ USA Thanks for your attention! [email protected] Today s slides and examples are on the web: 86
87 End 87
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
Database Programming with PL/SQL: Learning Objectives
Database Programming with PL/SQL: Learning Objectives This course covers PL/SQL, a procedural language extension to SQL. Through an innovative project-based approach, students learn procedural logic constructs
<Insert Picture Here> Oracle Developer Days Oracle Database 11g - Exploiting the full potential of the Oracle database for application development
Oracle Developer Days Oracle Database 11g - Exploiting the full potential of the Oracle database for application development The following is intended to outline our general product
GET DATA FROM MULTIPLE TABLES QUESTIONS
GET DATA FROM MULTIPLE TABLES QUESTIONS http://www.tutorialspoint.com/sql_certificate/get_data_from_multiple_tables_questions.htm Copyright tutorialspoint.com 1.Which of the following is not related to
Oracle Database 10g: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.
Course -Oracle 10g SQL (Exam Code IZ0-047) Session number Module Topics 1 Retrieving Data Using the SQL SELECT Statement
Course -Oracle 10g SQL (Exam Code IZ0-047) Session number Module Topics 1 Retrieving Data Using the SQL SELECT Statement List the capabilities of SQL SELECT statements Execute a basic SELECT statement
A basic create statement for a simple student table would look like the following.
Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Test: Final Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 6 1. The following code does not violate any constraints and will
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
How To Create A Table In Sql 2.5.2.2 (Ahem)
Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or
Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.
Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach
TRAINING & REFERENCE murach's SQL Server 2012 for developers Bryan Syverson Joel Murach Mike Murach & Associates, Inc. 4340 N. Knoll Ave. Fresno, CA 93722 www.murach.com [email protected] Expanded
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Test: Final Exam - Database Programming with SQL Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 8 Lesson 1 1. You are creating the EMPLOYEES
Displaying Data from Multiple Tables
4 Displaying Data from Multiple Tables Copyright Oracle Corporation, 2001. All rights reserved. Schedule: Timing Topic 55 minutes Lecture 55 minutes Practice 110 minutes Total Objectives After completing
Writing Control Structures
Writing Control Structures Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 5-1 Objectives After completing this lesson, you should be able to do the following: Identify
Displaying Data from Multiple Tables. Copyright 2006, Oracle. All rights reserved.
Displaying Data from Multiple Tables Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using equijoins and
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
An Oracle White Paper June 2013. Migrating Applications and Databases with Oracle Database 12c
An Oracle White Paper June 2013 Migrating Applications and Databases with Oracle Database 12c Disclaimer The following is intended to outline our general product direction. It is intended for information
Developing SQL and PL/SQL with JDeveloper
Seite 1 von 23 Developing SQL and PL/SQL with JDeveloper Oracle JDeveloper 10g Preview Technologies used: SQL, PL/SQL An Oracle JDeveloper Tutorial September 2003 Content This tutorial walks through the
Maximizing Materialized Views
Maximizing Materialized Views John Jay King King Training Resources [email protected] Download this paper and code examples from: http://www.kingtraining.com 1 Session Objectives Learn how to create
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
est: Final Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 6 1. How can you retrieve the error code and error message of any
Oracle SQL. Course Summary. Duration. Objectives
Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data
3.GETTING STARTED WITH ORACLE8i
Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer
Appendix A Practices and Solutions
Appendix A Practices and Solutions Table of Contents Practices for Lesson I... 3 Practice I-1: Introduction... 4 Practice Solutions I-1: Introduction... 5 Practices for Lesson 1... 11 Practice 1-1: Retrieving
Instant SQL Programming
Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions
Oracle Database: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training teaches you how to write subqueries,
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
Oracle Database 12c: Introduction to SQL Ed 1.1
Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,
RDBMS Using Oracle. Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture. [email protected]. Joining Tables
RDBMS Using Oracle Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture Joining Tables Multiple Table Queries Simple Joins Complex Joins Cartesian Joins Outer Joins Multi table Joins Other Multiple
SQL. Short introduction
SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.
Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R 2 0 1 4
Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R 2 0 1 4 1. Introduction Oracle provides products that reduce the time, risk,
Where? Originating Table Employees Departments
JOINS: To determine an employee s department name, you compare the value in the DEPARTMENT_ID column in the EMPLOYEES table with the DEPARTMENT_ID values in the DEPARTMENTS table. The relationship between
Oracle Database 11g SQL
AO3 - Version: 2 19 June 2016 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries
Programming with SQL
Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using
SQL Server to Oracle A Database Migration Roadmap
SQL Server to Oracle A Database Migration Roadmap Louis Shih Superior Court of California County of Sacramento Oracle OpenWorld 2010 San Francisco, California Agenda Introduction Institutional Background
Chapter 1. Writing Basic. SQL Statements
Chapter 1 Writing Basic SQL Statements 1 Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
Oracle Database: Introduction to SQL
Oracle University Contact Us: +381 11 2016811 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn Understanding the basic concepts of relational databases ensure refined code by developers.
Handling Exceptions. Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 8-1
Handling Exceptions Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 8-1 Objectives After completing this lesson, you should be able to do the following: Define PL/SQL
MOC 20461C: Querying Microsoft SQL Server. Course Overview
MOC 20461C: Querying Microsoft SQL Server Course Overview This course provides students with the knowledge and skills to query Microsoft SQL Server. Students will learn about T-SQL querying, SQL Server
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25)
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements inserts a row into the table? A. INSERT INTO employees
Oracle Database: Program with PL/SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn View a newer version of this course /a/b/p/p/b/pulli/lili/lili/lili/lili/lili/lili/lili/lili/lili/lili/lili/li/ul/b/p/p/b/p/a/a/p/
CHAPTER 12. SQL Joins. Exam Objectives
CHAPTER 12 SQL Joins Exam Objectives In this chapter you will learn to 051.6.1 Write SELECT Statements to Access Data from More Than One Table Using Equijoins and Nonequijoins 051.6.2 Join a Table to Itself
Oracle Database: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL training
Advanced SQL. Jim Mason. www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353. jemason@ebt-now.
Advanced SQL Jim Mason [email protected] www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353 What We ll Cover SQL and Database environments Managing Database
Oracle Database 12c: New Features for Administrators
Oracle University Contact Us: 67 52 67 24 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
Oracle 10g PL/SQL Training
Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural
ORACLE DATABASE 12C: NEW FEATURES FOR ADMINISTRATORS GRADE CURRICULAR. Enterprise Manager Express home page versus Enterprise Manager Database Control
FACULDADE DE EDUCAÇÃO SUPERIOR DO PARANÁ CURSO DE EXTENSÃO UNIVERSITÁRIA ORACLE DATABASE 12C: NEW FEATURES FOR ADMINISTRATORS GRADE CURRICULAR Enterprise Manager and Other Tools Enterprise Manager (EM)
Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
Oracle Database: Program with PL/SQL
Oracle University Contact Us: 0845 777 7711 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This course starts with an introduction to PL/SQL and proceeds to list the benefits
2. Which of the following declarations is invalid? Mark for Review (1) Points
Mid Term Exam Semester 1 - Part 1 1. 1. Null 2. False 3. True 4. 0 Which of the above can be assigned to a Boolean variable? 2 and 3 2, 3 and 4 1, 2 and 3 (*) 1, 2, 3 and 4 2. Which of the following declarations
Oracle Database: Program with PL/SQL
Oracle University Contact Us: +52 1 55 8525 3225 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Program with PL/SQL
Producing Readable Output with SQL*Plus
Producing Readable Output with SQL*Plus Chapter 8 Objectives After completing this lesson, you should be able to do the following: Produce queries that require an input variable Customize the SQL*Plus
news from Tom Bacon about Monday's lecture
ECRIC news from Tom Bacon about Monday's lecture I won't be at the lecture on Monday due to the work swamp. The plan is still to try and get into the data centre in two weeks time and do the next migration,
<Insert Picture Here> Application Change Management and Data Masking
Application Change Management and Data Masking Jagan R. Athreya ([email protected]) Director of Database Manageability Oracle Corporation 1 The following is intended to outline
Oracle to MySQL Migration
to Migration Stored Procedures, Packages, Triggers, Scripts and Applications White Paper March 2009, Ispirer Systems Ltd. Copyright 1999-2012. Ispirer Systems Ltd. All Rights Reserved. 1 Introduction The
Temporal Features in SQL standard
WG2 N1536 WG3: KOA-046 Temporal Features in SQL standard Krishna Kulkarni, IBM Corporation [email protected] May 13, 2011 1 Agenda Brief description of the SQL standard List of features in the latest
Oracle Database: Program with PL/SQL
Oracle University Contact Us: +33 15 7602 081 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This course is available in Training On Demand format This Oracle Database: Program
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
Oracle Database 12c Enables Quad Graphics to Quickly Migrate from Sybase to Oracle Exadata
Oracle Database 12c Enables Quad Graphics to Quickly Migrate from Sybase to Oracle Exadata Presented with Prakash Nauduri Technical Director Platform Migrations Group, Database Product Management Sep 30,
An Oracle White Paper October 2013. Oracle XML DB: Choosing the Best XMLType Storage Option for Your Use Case
An Oracle White Paper October 2013 Oracle XML DB: Choosing the Best XMLType Storage Option for Your Use Case Introduction XMLType is an abstract data type that provides different storage and indexing models
Oracle Database: Develop PL/SQL Program Units
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Develop PL/SQL Program Units Duration: 3 Days What you will learn This Oracle Database: Develop PL/SQL Program Units course is designed for
1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
1 Copyright 2011, Oracle and/or its affiliates. All rights The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated
SQL Introduction Chapter 7, sections 1 & 4. Introduction to SQL. Introduction to SQL. Introduction to SQL
SQL Introduction Chapter 7, sections 1 & 4 Objectives To understand Oracle s SQL client interface Understand the difference between commands to the interface and SQL language. To understand the Oracle
SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.
SQL Databases Course by Applied Technology Research Center. 23 September 2015 This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. Oracle Topics This Oracle Database: SQL
www.gr8ambitionz.com
Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1
Oracle Internal & Oracle Academy
Declaring PL/SQL Variables Objectives After completing this lesson, you should be able to do the following: Identify valid and invalid identifiers List the uses of variables Declare and initialize variables
AV-004: Administering and Programming with ORACLE
AV-004: Administering and Programming with ORACLE Oracle 11g Duration: 140 hours Introduction: An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve
Introduction to SQL and database objects
Introduction to SQL and database objects IBM Information Management Cloud Computing Center of Competence IBM Canada Labs 1 2011 IBM Corporation Agenda Overview Database objects SQL introduction The SELECT
Handling Exceptions. Copyright 2008, Oracle. All rights reserved.
Handling Exceptions Handling Exceptions What Will I Learn? In this lesson, you will learn to: Describe several advantages of including exception handling code in PL/SQL Describe the purpose of an EXCEPTION
Objectives. Oracle SQL and SQL*PLus. Database Objects. What is a Sequence?
Oracle SQL and SQL*PLus Lesson 12: Other Database Objects Objectives After completing this lesson, you should be able to do the following: Describe some database objects and their uses Create, maintain,
Displaying Data from Multiple Tables. Copyright 2004, Oracle. All rights reserved.
Displaying Data from Multiple Tables Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using equijoins and
D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to:
D61830GC30 for Developers Summary Duration Vendor Audience 5 Days Oracle Database Administrators, Developers, Web Administrators Level Technology Professional Oracle 5.6 Delivery Method Instructor-led
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Test: Final Exam - Database Programming with SQL Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 8 Lesson 1 1. Which SQL statement below will
OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS)
Use Data from a Hadoop Cluster with Oracle Database Hands-On Lab Lab Structure Acronyms: OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS) All files are
Optimizing with Open Source Technology Postgres
Optimizing with Open Source Technology Postgres Mark Jones [email protected] Sales Engineering, EMEA 2013 EDB All rights reserved 8.1. 1 Providing enterprises with the cost-performance benefits
PL / SQL Basics. Chapter 3
PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic
Querying Microsoft SQL Server
Course 20461C: Querying Microsoft SQL Server Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions, versions, tools used
Porting from Oracle to PostgreSQL
by Paulo Merson February/2002 Porting from Oracle to If you are starting to use or you will migrate from Oracle database server, I hope this document helps. If you have Java applications and use JDBC,
Database Migration from MySQL to RDM Server
MIGRATION GUIDE Database Migration from MySQL to RDM Server A Birdstep Technology, Inc. Raima Embedded Database Division Migration Guide Published: May, 2009 Author: Daigoro F. Toyama Senior Software Engineer
Course ID#: 1401-801-14-W 35 Hrs. Course Content
Course Content Course 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
Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008
Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL About this Course This 3-day instructor led course provides students with the technical skills required to write basic Transact-
PL/SQL Overview. Basic Structure and Syntax of PL/SQL
PL/SQL Overview PL/SQL is Procedural Language extension to SQL. It is loosely based on Ada (a variant of Pascal developed for the US Dept of Defense). PL/SQL was first released in ١٩٩٢ as an optional extension
ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT
ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT INTRODUCTION: Course Objectives I-2 About PL/SQL I-3 PL/SQL Environment I-4 Benefits of PL/SQL I-5 Benefits of Subprograms I-10 Invoking Stored Procedures
Querying Microsoft SQL Server 20461C; 5 days
Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Querying Microsoft SQL Server 20461C; 5 days Course Description This 5-day
Oracle Database 10g: Program with PL/SQL
Oracle University Contact Us: Local: 1800 425 8877 Intl: +91 80 4108 4700 Oracle Database 10g: Program with PL/SQL Duration: 5 Days What you will learn This course introduces students to PL/SQL and helps
5. CHANGING STRUCTURE AND DATA
Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure
LOBs were introduced back with DB2 V6, some 13 years ago. (V6 GA 25 June 1999) Prior to the introduction of LOBs, the max row size was 32K and the
First of all thanks to Frank Rhodes and Sandi Smith for providing the material, research and test case results. You have been working with LOBS for a while now, but V10 has added some new functionality.
Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts
D80186GC10 Oracle Database: Program with Summary Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts Level Professional Technology Oracle
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. SQL Review Single Row Functions Character Functions Date Functions Numeric Function Conversion Functions General Functions
Subqueries Chapter 6
Subqueries Chapter 6 Objectives After completing this lesson, you should be able to do the follovving: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries
PL/SQL Programming Workbook
ORACLG Oracle Press Oracle Database 11 g PL/SQL Programming Workbook TIB/UB Hannover 89 ACKNOWLEDGMENTS INTRODUCTION xvii xix PARTI PL/SQL Fundamentals 1 Oracle Development Overview 3 History and Background
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
5.1 Database Schema. 5.1.1 Schema Generation in SQL
5.1 Database Schema The database schema is the complete model of the structure of the application domain (here: relational schema): relations names of attributes domains of attributes keys additional constraints
Information Systems SQL. Nikolaj Popov
Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria [email protected] Outline SQL Table Creation Populating and Modifying
Top 25+ DB2 SQL Tuning Tips for Developers. Presented by Tony Andrews, Themis Inc. [email protected]
Top 25+ DB2 SQL Tuning Tips for Developers Presented by Tony Andrews, Themis Inc. [email protected] Objectives By the end of this presentation, developers should be able to: Understand what SQL Optimization
