Payilagam oracle sql & plsql training syllabus
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Payilagam oracle sql & plsql training syllabus

  • 252 views
Uploaded on

Payilagam Software Training Institute provides real time SQL and PLSQL training in Chennai. We share our syllabus here for the benefit of SQl&PLSQL learners ...

Payilagam Software Training Institute provides real time SQL and PLSQL training in Chennai. We share our syllabus here for the benefit of SQl&PLSQL learners

For More details please visit: www.payilagam.com

More in: Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
252
On Slideshare
252
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Payilagam Software Training Institute Payilagam Software Training Institute, No:4/67E, Sri Balaji’s Ishwarya, Vijaya Nagar 3rd Cross Street, Velachery, Chennai – 600042. 044-22592370, 8344777333, 8883775533. Mail : info@payilagam.com, Website : www.payilagam.com Oracle Standard SQL contents (Includes ANSI SQL / ISO SQL) Many new topics added apart from Oracle Standard curriculum based on real-time requirements in various domain (Manufacturing / Finance / Human resource / Inventory / Insurance) various Data Warehouse. 1. Basic DATABASE Concept and SQL Basic history of database concept: DBMS, RDBMS, ORDBMS Advantage of ORACLE database and version information Interface tools usage: sqlplus, isqlplus, sqldeveloper, Toad SQL Language overview: DQL, DML, DDL, DCL, TCL What is the usage of ANSI standard? SELECT Command - Column Alias Rules, String data, Concatenations with various data Null Value handling with number and characters, Arithmetic Operator Concatenation Operator, Eliminating Duplicate Rows 2. Restricting and Sorting Data WHERE Clause - Character Strings and Dates, number General Comparison Conditions = > >= < <= <> Other Comparison BETWEEN, IN, LIKE, NULL Logical Conditions AND OR NOT ORDER BY Clause, Sorting by Column Alias, Column Position, Multiple Columns 3. Single-Row Functions Character Functions: UPPER, LOWER, INITCAP, LENGTH, SUBSTR, INSTR, LPAD, RPAD, CONCAT, LTRIM, RTRIM, TRIM, REPLACE, TRANSLATE, AND REVERSE Number Functions: ROUND, TRUNC, MOD, POWER, CEIL, FLOOR, ABS 1 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 2. Payilagam Software Training Institute Dates Functions: SYSDATE, MONTHS_BETWEEN, NEXT_DAY, LAST_DAY, ADD_MONTHS, ROUND, TRUNC, Arithmetic on Date Conversion Functions: Implicit Data-Type Conversion & Explicit Data-Type Conversion, TO_CHAR, TO_NUMBER, TO_DATE General Functions: NVL, NVL2, NULLIF, COALESCE CASE Expression, DECODE Nested function with real-time usage 4. JOINS EQUI JOIN / SIMPLE JOIN / NORMAL JOIN ANSI JOIN, LEFT OUTER, RIGHT OUTER, FULL OUTER NATURAL JOIN, NATURAL OUTER JOINS INNER JOIN, JOIN ... USING clause, JOIN ... ON clause, CROSS JOIN, NON-EQUI JOIN, SELF JOIN ORACLE STANDARD OUTER JOINS. Multi table Joins, Complex Joins – How to simplified complex joins. 5. Multi-row Functions Group Functions Rules, SUM, MIN, MAX, COUNT, AVG Creating Groups of Data: GROUP BY Clause Filtering Group Results: The HAVING Clause 6. Sub-queries Single-Row Sub queries- Rules, Operators: = > >= < <= <> Null Values in a Sub query Multi-Row Sub queries- Rules, Operators : IN, ANY , ALL 7. Reporting data using interface commands pagesize, linesize , column heading , column format , colsep tTitle , bTitle , break on column, spool , CSV file generation, Text file generation 8. Data Manipulation Language DML and Transaction Control Language TCL DML: INSERT, UPDATE, DELETE, MERGE TCL: COMMIT, ROLLBACK, SAVEPOINT 9. Data Definition Language - DDL 2 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 3. Payilagam Software Training Institute DDL: CREATE, ALTER, RENAME, DROP, TRUNCATE DEFAULT OPTION. Constrain table copy 10. Constraints NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK Column Level Constraint, Table Level Constraint – Naming constraints and usage Adding a Constraint, Dropping a Constraint, Disabling Constraints, Enabling Constraints Validating Constraints 11. Views Simple Views and Complex Views – Create, Drop, Source Code Rules for Performing DML Operations on a View WITH CHECK OPTION, WITH READ ONLY Inline Views Materialized View – Create, Refresh, Drop - Usage 12. Other Database Objects Sequence- NEXTVAL and CURRVAL Index - When to Create an Index, When Not to Create an Index. Synonyms 13. DCL COMMANDS Creating Users Granting / Revoking Privileges Creating and Granting Privileges to a Role 14. Dictionary Tables Tables, Views, Synonyms, Index, Sequence, Constrains, Source and other Dictionary 15. SET Operators UNION, UNION ALL, INTERSECT, MINUS 3 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 4. Payilagam Software Training Institute 16. Advanced Date-time Functions TIME ZONES, SYSDATE, SYSTIMESTAMP, CURRENT_DATE, CURRENT_TIMESTAMP SESSIONTIMEZONE, Storing time zone data in Table EXTRACT, TO_YMINTERVAL 17. Advanced GROUP BY Clause Group by with ROLLUP, Group by with CUBE, GROUPING SETS 18. Advanced Sub queries Pair wise Comparison Sub query, Non pair wise Comparison Sub query Correlated Sub queries, Correlated UPDATE, Correlated DELETE EXISTS, NOT EXISTS Operator 19. Hierarchical Retrieval The Tree: From the Bottom Up, From the Top Down LEVEL Pseudo column, Connect by prior, 20. Multi-table Insert Unconditional INSERT ALL Conditional INSERT ALL Conditional FIRST INSERT 21. DATA LOADER SQLLDR – Loading CSV file / Flat file into ORACLE table. 4 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 5. Payilagam Software Training Institute 22. Analytic Functions WM_CONCAT, LAG, LEAD, RANK, DENSE_RANK Query_by partition_clause with sum, min, max, avg, count, order_by_clause with sum, min, max, avg, count, Psudo column: Rownum, Rowid, - Elimination duplicate data Connect by rownum , Connect by Level – Generating random numbers, random dates, Quote Operator syntax and usage 23. Backup Export / Import SCHEMA - using TOAD - using ORACLE direct command 24. General What is migration? Migration Estimating, Planning, Preparation – Simple Scenario / Complex Scenario. PL/SQL Table of contents 1. Variables Information PL/SQL Block Structure, Block Types, Types of Variables & Naming Rules Variable Initialization and Keywords Scalar Data Types %TYPE Attribute features Boolean Variables and HANDLING Non-PL/SQL Variables DBMS_OUTPUT.PUT_LINE 2. Executable Statements Data type Conversion Implicit / Explicit Nested Blocks and Variable Scope Operators in PL/SQL 3. Interacting with the Oracle Server Retrieving Data in PL/SQL Naming Conventions Manipulating Data Using PL/SQL Inserting Data, Updating Data, Deleting Data, Merging Rows Implicit Cursor – Attributes – Tricks & usage 5 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 6. Payilagam Software Training Institute 4. Control Structures Controlling PL/SQL Flow of Execution IF-THEN-ELSE Statement Execution CASE Expressions Handling Nulls, Logic Tables, Boolean Conditions LOOP Statements: Basic Loops, WHILE Loops, FOR Loops Nested Loops and Labels Goto Statement Composite Variables Composite Data Types: RECORDS AND COLLECTION Record Variable – features & Tricks Collection: INDEX BY Tables, NESTED TABLE, VARRAY %ROWTYPE Attribute advantage Methods: EXTEND, TRIM, EXISTS, COUNT, LIMIT, FIRST, LAST, PRIOR, NEXT, DELETE DML Process - Records & Collection – Advantages. 6. Explicit Cursors Explicit Cursor Structure Explicit Cursor Attributes – Tricks & usage. Explicit Cursor with Scalar, Record & Collection Variable Controlling Multiple Fetches Cursor with Sub-query, Join-query, Aggregating Functions Cursor FOR Loops Cursor FOR Loops Using Sub-queries 7. Advanced Explicit Cursor Concepts Cursors with Parameters The FOR UPDATE Clause The WHERE CURRENT OF Clause 8. Handling Exceptions Handling Exceptions with PL/SQL Exception Types Trapping Exceptions Predefined Exceptions Non-predefined Exceptions Functions for Trapping Exceptions Trapping User-Defined Exceptions Propagating Exceptions RAISE_APPLICATION_ERROR 6 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 7. Payilagam Software Training Institute 9. Procedures Syntax for Creating Procedures Formal versus Actual Parameters Procedures with Parameters: IN, OUT, IN OUT Methods for Passing Parameters, DEFAULT Option for Parameters Invoking a Procedure from an Anonymous PL/SQL Block Invoking a Procedure from another Procedure Handled Exceptions Unhandled Exceptions 10. Sub-programs Declaring, Rules and invoking Subprograms Benefits of Subprograms Subprogram with parameter 11. Functions Syntax for Creating Functions Creating and Executing Function Invoking Functions in SQL Expressions Restrictions on Calling Functions from SQL Expressions and SQL Subprogram in Functions. Invoking Functions in Procedure/ Function / Sub-programs 12. Dictionary table usages USER_OBJECTS, USER_SOURCE, USER_ERRORS, SHOW ERRORS USER_DEPENDENCIES 13. Packages Components of a Package Referencing Package Objects Creating a Package Specification/Body Public and Private Constructs Invoking Package Constructs Referencing a Public Variable from a Stand-alone Procedure Advantages / Disadvantage of Packages Sub-program in Packages 14. Advanced Package Concepts Overloading: 7 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 8. Payilagam Software Training Institute Using Forward Declarations Restrictions on Package Functions Used in SQL Variable Persistent State in Package Cursor Persistent State in Package 15. Oracle Supplied Packages Dynamic SQL Using EXECUTE IMMEDIATE UTL_FILE Export & Import -TEXT file, CSV File, Tab Separated File, Pipe Separated File 16. Creating Database Triggers Types of Triggers Database Trigger: DML Trigger Components Trigger Usage - Tricks 17. Bulking in PL/SQL Bulk Collect Bulk Insert Forall Bulk Collect Limit Comparing performance: Record Variable, Collection Variable, Collection Variable with Bulk collect Collection Variable with Forall 18. General Ref Cursor Usage Parameter data type –Ref Cursor / Record variable tricks PRAGMA AUTONOMOUS_TRANSACTION – feature 19. XML File Handling (CLOB / XML type) XML File Generating Generate XML script from table. Inserting XML Script into Table Copying CLOB filed to another Table. Importing & Exporting XML Files Warm Regards Payilagam software training institute, 8344777333, 8883775533. Mail: info@payilaga.com Website: www.payilagam.com 8 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |