This document provides an introduction and student guide for an Oracle Database 12c SQL workshop. It covers topics like restricting and sorting data, SQL functions, subqueries, and managing tables using data manipulation language statements. The guide contains lessons, objectives, practice questions, and references additional Oracle documentation for further reading. Copyright and usage restrictions are provided.
This presentation provides you with an overview of how to implement Electronic Records Management (ERM) according to ISO15489. The slides are from AIIM's ERM Specialist and Master Certificate Programs. For more information visit www.aiim.org/training
This article aims to provide a comprehensive knowledge and understanding of the Sub ledger accounting (SLA) in Oracle E-Business Suite (EBS) R12. It uncovers some of implementation tips and techniques and also shows how users can meet their financial and reporting needs using SLA.
The article highlights how to use SLA functionality to automate and control various scenarios using specific business rules.
The data lake has become extremely popular, but there is still confusion on how it should be used. In this presentation I will cover common big data architectures that use the data lake, the characteristics and benefits of a data lake, and how it works in conjunction with a relational data warehouse. Then I’ll go into details on using Azure Data Lake Store Gen2 as your data lake, and various typical use cases of the data lake. As a bonus I’ll talk about how to organize a data lake and discuss the various products that can be used in a modern data warehouse.
CH- 3 CONCEPTUAL FRAMEWORK OF CORPORATE GOVERNANCE Bibek Prajapati
CH- 3 CONCEPTUAL FRAMEWORK OF CORPORATE GOVERNANCE
FOR CS PROFESSONAL, CA, CMA
Definitions of Corporate Governance
• ICSI Principles of Corporate Governance
• Need for Corporate Governance
• Theories of Corporate Governance
• Evolution and Development of Corporate Governance
• Elements of Good Corporate Governance
The root of the word Governance is from ‘gubernate’, which means to steer. Corporate governance would mean to steer an organization in the desired direction. The responsibility to steer lies with the board of directors/governing board.
• Kautilya’s Arthashastra maintains that for good governance, all administrators, including the king were considered servants of the people. Good governance and stability were completely linked. There is stability if leaders are responsive, accountable and removable. These tenets hold good even today.
• Corporate Governance Basic theories: Agency Theory; Stock Holder Theory; Stake Holder Theory; Stewardship Theory
OECD has defined corporate governance to mean “A system by which business corporations are directed and controlled”. Corporate governance structure specifies the distribution of rights and responsibilities among different participants in the company such as board, management, shareholders and other stakeholders; and spells out the rules and procedures for corporate decision making. By doing this, it provides the structure through which the company’s objectives are set along with the means of attaining these objectives as well as for monitoring performance.
Here are the key points about the course agenda:
- The course is divided into lessons that will be covered over multiple days.
- On the first day, the lessons covered are the Introduction lesson (which provides an overview of the course) and two core PL/SQL lessons - an introduction to PL/SQL and declaring variables.
- These initial lessons lay the groundwork by introducing PL/SQL and how to declare and work with variables.
Lessons for subsequent days will build on this foundation by covering additional core PL/SQL concepts like writing executable statements, interacting with the database, writing control structures, and more advanced topics like exceptions and stored procedures/functions.
The pacing and grouping of lessons is designed to progressively introduce
This document discusses stored procedures and functions in Oracle databases. It covers:
- What procedures and functions are and how they can be created using PL/SQL syntax.
- Parameters for procedures and functions, including IN, OUT, and IN OUT parameter modes.
- Developing procedures and functions, including compiling, storing, and executing them.
- Benefits of using procedures and functions such as improved maintainability and performance.
This document provides an overview of Oracle database architecture including:
- The basic instance-based architecture with background processes like DBWR, LGWR, and processes like SMON and PMON.
- Components of the System Global Area (SGA) like the buffer cache and redo log buffer.
- The Program Global Area (PGA) used by server processes.
- Real Application Clusters (RAC) which allows clustering of instances across nodes using shared storage. RAC requires Oracle Grid Infrastructure, ASM, and specific hardware and network configurations.
Enterprise Manager 13c provides optimized, efficient, and integrated cloud stack management capabilities. It offers improved monitoring, infrastructure management, and hybrid cloud management features. These include "always on" monitoring, unified hardware and software management under a single console, and enhanced capabilities for managing databases, middleware, and engineered systems. The presentation provides demonstrations of the user interface, incident management, database management, job scheduling, and fusion middleware management functions.
This document provides an overview of Oracle database history, architecture, components, and terminology. It discusses:
- Oracle's release history from 1978 to present.
- The physical and logical structures that make up an Oracle database, including data files, control files, redo logs, tablespaces, segments, and blocks.
- The Oracle instance and its memory components like the SGA and PGA. It describes the various background processes.
- How clients connect to Oracle using the listener, tnsnames.ora file, and naming resolution.
- Common Oracle tools for accessing and managing databases like SQLPlus, SQL Developer, and views for monitoring databases.
The document discusses Oracle Transactional Business Intelligence (OTBI) and its integration with Oracle Fusion Applications. It provides an overview of OTBI features such as real-time reporting, ease of use, integration with Fusion, and extensibility. The document outlines the OTBI architecture and common semantic layer and discusses how OTBI extends flex fields from Fusion. It also describes how security is integrated between OTBI and Fusion and how BI reports can be embedded within Fusion applications.
All of the Performance Tuning Features in Oracle SQL DeveloperJeff Smith
An overview of all of the performance tuning instrumentation, tools, and features in Oracle SQL Developer. Get help making those applications and their queries more performant.
Maximum Availability Architecture - Best Practices for Oracle Database 19cGlen Hawkins
Provides the latest updates on high availability (HA) best practices in this well-established technical deep-dive session. Learn how to optimize all aspects of Oracle Active Data Guard 19c. See how to use session draining, transparent application continuity, Oracle RAC, and Oracle GoldenGate to mask outages and planned maintenance from users and to accelerate time to repair for single database or your fleet of databases. Hear about the latest HA best practices with Oracle Multitenant and understand how the new sharded architecture can achieve even higher levels of HA and fault isolation for OLTP applications. Find out how everything you know about Oracle Maximum Availability Architecture (MAA) on-premises can be deployed in the cloud.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
From Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
The document discusses Oracle's Multitenant architecture, which allows multiple pluggable databases (PDBs) to consolidate within a single multitenant container database (CDB). It describes how Multitenant provides advantages like simplified upgrades, cloning, and migration of PDBs. The document also covers ensuring quality of service for PDBs using resource management, and how RAC supports high availability and scalability in a Multitenant environment. It concludes with a discussion of performance monitoring of workloads across PDBs.
07 Using Oracle-Supported Package in Application Developmentrehaniltifat
This document discusses using Oracle-supplied packages for application development. It describes the UTL_MAIL package for managing email, including procedures for sending messages with and without attachments. It also covers the DBMS_SCHEDULER package for automating jobs, including how to create, run, stop, and drop jobs. Finally, it discusses dynamic SQL and executing SQL statements programmatically using native dynamic SQL statements or the DBMS_SQL package.
03 Writing Control Structures, Writing with Compatible Data Types Using Expli...rehaniltifat
This document discusses composite data types in PL/SQL including records, collections like index by tables and nested tables, and using explicit cursors. It provides examples of declaring different composite data types like records and index by tables, using %ROWTYPE attribute, and controlling explicit cursors through open, fetch, close operations and cursor attributes. It also discusses using cursors with parameters and FOR UPDATE/WHERE CURRENT OF clauses for locking and updating rows.
Collections are PL/SQL's approach to arrays. We have three types of collections (associative arrays, nested tables, varrays) and this presentation explores both the common features of these datatypes, and their differing characteristics. Copyright 2016 Oracle Corporation.
This document provides an introduction to Oracle 10g, including its architecture and components. It discusses the Oracle instance, System Global Area (SGA) and Program Global Area (PGA). It describes the key background processes like SMON, PMON, DBWn, LGWR, CKPT and ARCn. It also explains the critical Oracle files - parameter file, control files, redo log files and data files. Finally, it outlines Oracle's logical data structures of tablespaces, segments, extents and data blocks.
Oracle is planning to release Oracle Database 12c in calendar year 2013. The new release will include a multitenant architecture that allows for multiple pluggable databases to be consolidated and managed within a single container database. This new architecture enables fast provisioning of new databases, efficient cloning of pluggable databases, simplified patching and upgrades applied commonly to all pluggable databases, and other benefits that improve database consolidation on cloud platforms.
This document provides an overview of the Spring Framework core module topics to be covered in a 2-week training, including introduction to Spring, basic beans, the IoC container, bean lifecycle, and annotations. The instructor team is listed and the topics are broken down into dependency injection, Spring modules, and a lab on basic DI setup.
This document discusses Oracle Multitenant 19c and pluggable databases. It begins with an introduction to the speaker and overview of pluggable databases. It then describes the traditional Oracle database architecture and the multitenant architecture in Oracle 19c. It discusses the different components of a container database including the root, seed PDB, and application containers. It also covers how to create pluggable databases from scratch, through cloning locally and remotely, relocating PDBs, and plugging in unplugged PDBs.
This document contains 54 SQL queries with answers for retrieving data from EMP and DEPT tables. The queries include selecting unique values, ordering results, filtering on dates, job titles, departments, salaries and more. Example queries are provided to select details of specific employees, find employees with the same job or salary as another, and join tables to retrieve related data.
This document provides an overview and instructions for using Oracle's SQL Fundamentals II course. It discusses copyright and usage restrictions, outlines the course objectives and prerequisites. It also lists additional resources for SQL and describes the HR schema used in examples.
Here are the key points about the course agenda:
- The course is divided into lessons that will be covered over multiple days.
- On the first day, the lessons covered are the Introduction lesson (which provides an overview of the course) and two core PL/SQL lessons - an introduction to PL/SQL and declaring variables.
- These initial lessons lay the groundwork by introducing PL/SQL and how to declare and work with variables.
Lessons for subsequent days will build on this foundation by covering additional core PL/SQL concepts like writing executable statements, interacting with the database, writing control structures, and more advanced topics like exceptions and stored procedures/functions.
The pacing and grouping of lessons is designed to progressively introduce
This document discusses stored procedures and functions in Oracle databases. It covers:
- What procedures and functions are and how they can be created using PL/SQL syntax.
- Parameters for procedures and functions, including IN, OUT, and IN OUT parameter modes.
- Developing procedures and functions, including compiling, storing, and executing them.
- Benefits of using procedures and functions such as improved maintainability and performance.
This document provides an overview of Oracle database architecture including:
- The basic instance-based architecture with background processes like DBWR, LGWR, and processes like SMON and PMON.
- Components of the System Global Area (SGA) like the buffer cache and redo log buffer.
- The Program Global Area (PGA) used by server processes.
- Real Application Clusters (RAC) which allows clustering of instances across nodes using shared storage. RAC requires Oracle Grid Infrastructure, ASM, and specific hardware and network configurations.
Enterprise Manager 13c provides optimized, efficient, and integrated cloud stack management capabilities. It offers improved monitoring, infrastructure management, and hybrid cloud management features. These include "always on" monitoring, unified hardware and software management under a single console, and enhanced capabilities for managing databases, middleware, and engineered systems. The presentation provides demonstrations of the user interface, incident management, database management, job scheduling, and fusion middleware management functions.
This document provides an overview of Oracle database history, architecture, components, and terminology. It discusses:
- Oracle's release history from 1978 to present.
- The physical and logical structures that make up an Oracle database, including data files, control files, redo logs, tablespaces, segments, and blocks.
- The Oracle instance and its memory components like the SGA and PGA. It describes the various background processes.
- How clients connect to Oracle using the listener, tnsnames.ora file, and naming resolution.
- Common Oracle tools for accessing and managing databases like SQLPlus, SQL Developer, and views for monitoring databases.
The document discusses Oracle Transactional Business Intelligence (OTBI) and its integration with Oracle Fusion Applications. It provides an overview of OTBI features such as real-time reporting, ease of use, integration with Fusion, and extensibility. The document outlines the OTBI architecture and common semantic layer and discusses how OTBI extends flex fields from Fusion. It also describes how security is integrated between OTBI and Fusion and how BI reports can be embedded within Fusion applications.
All of the Performance Tuning Features in Oracle SQL DeveloperJeff Smith
An overview of all of the performance tuning instrumentation, tools, and features in Oracle SQL Developer. Get help making those applications and their queries more performant.
Maximum Availability Architecture - Best Practices for Oracle Database 19cGlen Hawkins
Provides the latest updates on high availability (HA) best practices in this well-established technical deep-dive session. Learn how to optimize all aspects of Oracle Active Data Guard 19c. See how to use session draining, transparent application continuity, Oracle RAC, and Oracle GoldenGate to mask outages and planned maintenance from users and to accelerate time to repair for single database or your fleet of databases. Hear about the latest HA best practices with Oracle Multitenant and understand how the new sharded architecture can achieve even higher levels of HA and fault isolation for OLTP applications. Find out how everything you know about Oracle Maximum Availability Architecture (MAA) on-premises can be deployed in the cloud.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
From Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
The document discusses Oracle's Multitenant architecture, which allows multiple pluggable databases (PDBs) to consolidate within a single multitenant container database (CDB). It describes how Multitenant provides advantages like simplified upgrades, cloning, and migration of PDBs. The document also covers ensuring quality of service for PDBs using resource management, and how RAC supports high availability and scalability in a Multitenant environment. It concludes with a discussion of performance monitoring of workloads across PDBs.
07 Using Oracle-Supported Package in Application Developmentrehaniltifat
This document discusses using Oracle-supplied packages for application development. It describes the UTL_MAIL package for managing email, including procedures for sending messages with and without attachments. It also covers the DBMS_SCHEDULER package for automating jobs, including how to create, run, stop, and drop jobs. Finally, it discusses dynamic SQL and executing SQL statements programmatically using native dynamic SQL statements or the DBMS_SQL package.
03 Writing Control Structures, Writing with Compatible Data Types Using Expli...rehaniltifat
This document discusses composite data types in PL/SQL including records, collections like index by tables and nested tables, and using explicit cursors. It provides examples of declaring different composite data types like records and index by tables, using %ROWTYPE attribute, and controlling explicit cursors through open, fetch, close operations and cursor attributes. It also discusses using cursors with parameters and FOR UPDATE/WHERE CURRENT OF clauses for locking and updating rows.
Collections are PL/SQL's approach to arrays. We have three types of collections (associative arrays, nested tables, varrays) and this presentation explores both the common features of these datatypes, and their differing characteristics. Copyright 2016 Oracle Corporation.
This document provides an introduction to Oracle 10g, including its architecture and components. It discusses the Oracle instance, System Global Area (SGA) and Program Global Area (PGA). It describes the key background processes like SMON, PMON, DBWn, LGWR, CKPT and ARCn. It also explains the critical Oracle files - parameter file, control files, redo log files and data files. Finally, it outlines Oracle's logical data structures of tablespaces, segments, extents and data blocks.
Oracle is planning to release Oracle Database 12c in calendar year 2013. The new release will include a multitenant architecture that allows for multiple pluggable databases to be consolidated and managed within a single container database. This new architecture enables fast provisioning of new databases, efficient cloning of pluggable databases, simplified patching and upgrades applied commonly to all pluggable databases, and other benefits that improve database consolidation on cloud platforms.
This document provides an overview of the Spring Framework core module topics to be covered in a 2-week training, including introduction to Spring, basic beans, the IoC container, bean lifecycle, and annotations. The instructor team is listed and the topics are broken down into dependency injection, Spring modules, and a lab on basic DI setup.
This document discusses Oracle Multitenant 19c and pluggable databases. It begins with an introduction to the speaker and overview of pluggable databases. It then describes the traditional Oracle database architecture and the multitenant architecture in Oracle 19c. It discusses the different components of a container database including the root, seed PDB, and application containers. It also covers how to create pluggable databases from scratch, through cloning locally and remotely, relocating PDBs, and plugging in unplugged PDBs.
This document contains 54 SQL queries with answers for retrieving data from EMP and DEPT tables. The queries include selecting unique values, ordering results, filtering on dates, job titles, departments, salaries and more. Example queries are provided to select details of specific employees, find employees with the same job or salary as another, and join tables to retrieve related data.
This document provides an overview and instructions for using Oracle's SQL Fundamentals II course. It discusses copyright and usage restrictions, outlines the course objectives and prerequisites. It also lists additional resources for SQL and describes the HR schema used in examples.
SQL is a language used to manage data in relational database management systems (RDBMS). It allows users to define, manipulate, and control access to data in a database. SQL statements are used to perform tasks like creating tables, inserting records, updating records, deleting records, and retrieving records from one or more tables using structured query language. Common SQL statements include DDL, DML, DCL, and DQL statements.
This document provides an introduction and overview of SQL (Structured Query Language). It defines SQL as a standard language for managing and accessing relational database management systems (RDBMS). It describes some key SQL commands like SELECT, UPDATE, DELETE, and INSERT. It also notes that while SQL is a standard, different database systems may have their own proprietary extensions. The document uses examples from the Northwind sample database to demonstrate basic SQL statements and clauses.
This document provides an overview of Oracle SQL functions. It discusses single-row functions that operate on each row returned, including conversion, character, number, and date functions. Character functions covered include LOWER, UPPER, INITCAP, CONCAT, SUBSTR, LENGTH, and INSTR, which can be used for case conversion and character manipulation.
The document contains 15 programs demonstrating the use of PL/SQL blocks, functions, and cursors. Program 1 finds the maximum of 3 numbers. Program 2 calculates the sum of the first 100 natural numbers. Program 3 calculates the sum of the first 100 even and odd numbers separately. The remaining programs demonstrate additional PL/SQL concepts like cursors, functions, implicit cursors, table creation and manipulation.
This document provides a quick reference guide for Oracle Server 9i, summarizing key concepts, statements, and features. It covers Oracle architecture, instances, databases, utilities, tablespaces, logs, tables, views, indexes, users, auditing, networking, recovery, distributed databases, replication, queues, data warehousing, Real Application Clusters, globalization, SQL*Plus, data types, SQL, PL/SQL, Java, performance tuning, deprecated features, and more - all in a compact format to enable quick lookups. The guide is not meant to replace Oracle's official documentation, but rather serve as a high-level cheat sheet for commonly used elements.
This document provides examples of PL/SQL code blocks and procedures to perform various tasks like checking if a year is a leap year, calculating employee bonuses based on salary, using cursors to retrieve and output employee data, using associative arrays to store and retrieve employee data, handling exceptions, inserting/updating/deleting records in tables using procedures and functions, creating packages with public and private constructs, overloading procedures and functions, and more. It includes 14 questions with examples to write and test PL/SQL code.
Oracle Database Client Installation Guide provides instructions for installing Oracle Database Client on Microsoft Windows. It discusses installation overview, preinstallation tasks, installing Oracle Database Client, postinstallation tasks, removing Oracle Database Client software, and troubleshooting. The guide includes appendices on installing Java Access Bridge and using response files for silent or unattended installations.
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsLeighton Nelson
This document summarizes the top 10 features for database administrators (DBAs) in Oracle Enterprise Manager Cloud Control 12c. It discusses features such as database lifecycle management, real-time database operations monitoring, the EM Command Line Interface (EMCLI), ASH analytics, backup and recovery improvements, pluggable database support, Automatic Database Diagnostic Monitor (ADDM) enhancements, and database-as-a-service capabilities. The presentation was given by Leighton Nelson, an Oracle DBA of over 10 years who works at Mercy, a large Catholic health system.
This document provides an overview and agenda for Oracle Business Intelligence 11g architecture and internals. It discusses the key features of OBIEE 11g, including the integration with Oracle Fusion Middleware. The basic architecture includes system components managed by Oracle Process Manager and Notification Server, and Java components managed by Oracle WebLogic Server. It also compares OBIEE 11g to the previous 10g version.
This document is the student guide for Oracle Database 11g: SQL Fundamentals I, Volume II. It covers topics related to retrieving, manipulating, and reporting data using SQL and is copyrighted and published by Oracle Corporation in April 2009 for use in their SQL training courses. The document has multiple authors and technical contributors listed.
This document is a certification for Said Salloum who achieved Oracle Database 11g Performance Tuning Certified Expert status on May 29, 2013. The certification number is 21840963911GTUNEX.
Oracle database 12c 2 day + real application clusters guidebupbechanhgmail
This document provides a guide for deploying an Oracle Real Application Clusters environment. It covers preparing the cluster, installing Oracle Grid Infrastructure and Oracle RAC, administering database instances and cluster databases, managing Oracle Clusterware components, and backup and recovery of Oracle RAC databases. The guide is intended for database administrators deploying Oracle RAC and includes instructions for installing and configuring Oracle RAC using tools like Oracle Universal Installer and SRVCTL.
This document provides an introduction and overview of an Oracle Database 11g course. It outlines the course objectives which include understanding Oracle Database 11g features and using SQL to retrieve, manipulate, and manage data. The course agenda is presented over three days and will cover topics such as SQL statements, relational database concepts, and using Oracle SQL Developer. Appendices that will be referenced are also listed.
This document provides an overview and agenda for the Oracle Database 11g: SQL Fundamentals II Student Guide, which teaches advanced SQL concepts such as managing schema objects, using data dictionary views, manipulating large data sets, managing data in different time zones, and retrieving data using subqueries. The guide was created by Oracle Corporation and contains copyright information as well as a list of authors, technical contributors, editors, and graphic designers involved in its production.
This document contains additional practice problems for the Oracle Database 10g: PL/SQL Fundamentals course. The additional practices provide supplemental exercises in PL/SQL concepts like declaring variables, writing code blocks, SQL statements, control structures, composite data types, cursors and exception handling. The problems use sample database tables like employees, jobs, job_history and departments to demonstrate working with tables.
This document provides an overview of Oracle WebLogic Server 11g and discusses key concepts related to installing, configuring, and deploying applications on WebLogic Server. It covers topics such as installing WebLogic Server, configuring domains and templates, using the administration console and WLST, configuring managed servers and node managers, viewing logs, deployment concepts, and deploying Java EE applications. The document is intended to help students learn the essentials of administering WebLogic Server through hands-on practice exercises.
This document provides an overview and agenda for an Oracle Database 12c R2 SQL workshop, including objectives, prerequisites, roadmap, tables used, and development environments. It covers topics such as restricting data, sorting data, functions, subqueries, and managing tables using DML statements. The document is intended for internal Oracle and Oracle Academy use only.
This document provides an overview and introduction to developing PL/SQL program units such as procedures, functions, packages, and triggers in Oracle Database 10g. It discusses modularizing development with PL/SQL blocks and anonymous blocks. It also covers PL/SQL execution environments and development environments like iSQL*Plus and SQL*Plus. The document contains copyright information and disclaimers.
This document provides an overview of Oracle database architecture and administration, covering topics such as installing Oracle software, creating and managing databases, configuring security, tuning performance, backup and recovery, and flashback capabilities. It includes objectives, concepts, examples, and practice overviews for each chapter to help readers understand and administer Oracle databases. The document is intended as a guide for database administrators to properly setup, secure, and maintain Oracle databases.
This document is an instructor guide for the Oracle9i PL/SQL programming language. It provides an overview of PL/SQL and its benefits, describes PL/SQL concepts like variables, data types, control structures, exceptions, and subprograms (procedures and functions). It also discusses how to interact with the Oracle database using PL/SQL. The guide contains examples and practice exercises for learning how to program with PL/SQL.
This document provides an introduction to Oracle9i: PL/SQL. It discusses the course objectives and benefits of using PL/SQL and subprograms. Key topics covered include declaring variables, writing executable statements, interacting with the Oracle server using SQL statements, writing control structures, working with composite data types, and creating procedures and functions. The document contains copyright information and a table of contents.
This document provides a guide to Oracle Database 10g fundamentals. It contains information about SQL and relational database concepts. The guide has multiple chapters that cover topics such as retrieving data using SQL SELECT statements, joining data from multiple tables, and using functions to customize output. It is intended for students learning about Oracle databases and SQL.
Learn Gold gate oracle
More About Oracle Data Guard
Responsible for working with Oracle tools including OEM, ASM, and RMAN.
Proficient in the Usage of data dictionary views, Expert in database administration (undo, redo, space, memory management).
Proficient in installation, upgrade, and patching.
Responsible for preparing and reviewing complex change plans.
RCA preparation, Mentoring, and up skilling DBAs, Contributing in technology initiatives.
Working Knowledge of 11g, Use of problem and change management tools, Installing, Configuring, and troubleshooting RAC, Data guard, and Replication.
Installation, configuration, and upgrading of Oracle server software and related products
Evaluate Oracle features and Oracle-related products, Establish and maintain backup and recovery policies and procedures.
Implement and maintain database security (create and maintain users and roles, assign privileges)
Monitoring and maintenance of documentation and standards
Work as part of a team and provide 24x7 support when required
Troubleshoot database performance issues, including tuning slow-running SQL queries by optimizing them.
Monitoring backups on database & troubleshoot incomplete backups. Schedule removal of obsolete backups, Restore and recover archive log gaps on data guard.
Oracle databases migration from on-premise to amazon web services (AWS).
Install Cloud Control agent on database servers and monitor the health of DB, Database Decommission from oracle enterprise manager (OEM).
Build a Physical, logical Standby Database from RMAN backup to improve the performance of the primary database and reporting.
Monitor lag on prod replication databases dashboard through a logic monitor.
Storage management on ASM by adding, removing & maintaining disks.
Applying Interim Patches, configure logic monitor modules for database statistics.
Troubleshooting critical alerts triggered from OEM, also includes alerts related to Backup, resource utilization, ORA-Errors, and blocking sessions.
Handling User management requests on PostgreSQL, Oracle, and MySQL databases.
Oracle Exadata, Oracle ASM, and Data guard administration. Managing high-performance, high-capacity databases in a critical production environment.
Performing Oracle Exadata upgrades and patching. Exadata Storage cells & Exadata component monitoring and alert handling.
Troubleshooting and fixing issues related to Compute/Storage node Kernel panic, Node crashes & bare-metal restore scenarios, and Exadata Storage Expansion activities.
Administration/monitoring of Exadata components through Command line, OEM & ILOMs.
Implementing Oracle Exadata features like Smart scans, HCC, flash cache, InfiniBand, ILOM, Write back Flash Cache, Flash Cache compression, HCC, etc.
Performing administration through CELLCLI, DCLI & other Exadata-specific utilities. Health Check Reports generation and preliminary analysis for reports such as EXACHECK, SUNDIAG, OS WATCHER, etc.
Removal of specifi
Step-by-Step Cookbook for Identifying and Tuning SQL ProblemsMinh237839
This document outlines a step-by-step cookbook for identifying and tuning SQL performance problems. It discusses why SQL statements can regress in performance, how to identify problematic SQL such as those consuming high database time or experiencing plan changes, and various techniques for tuning SQL performance including the SQL Tuning Advisor, SQL Plan Baselines, and SQL Access Advisor. Real-world customer experiences from AveA in Turkey and S. Corporation in Korea are also presented.
This document provides an overview and objectives for a course on Oracle database administration. It covers topics such as controlling user access, managing schema objects, manipulating large data sets, generating reports, managing data in different time zones, retrieving data using subqueries, hierarchical retrieval, and regular expression support. Each chapter provides learning objectives and exercises for students to reinforce the concepts covered.
Oracle ACE Director Dan Morgan presented those slides about migrating to database 12c and how to get it right. For more information, visit www.perftuning.com
Between 2015 and 2017 a large percentage of Oracle's existing customer base will be upgrading their existing databases to the new version 12cR1. Most of the time when upgrades happen the only benefits organizations receive are the satisfaction of having survived the upgrade unscathed. In general, the new database, other than having a new version number, provides little in the way of tangible benefits.
With the re-architecture that can come with a 12cR1 upgrade it is, for the first time, possible to plan for and receive substantial measurable benefits, and possible to make costly mistakes that could create substantial liabilities that are both business and financial.
Oracle ACE Director and industry veteran Dan Morgan, in a presentation targeted to IT/IS management explores both the benefits and the risks and provide a guideline for "getting it right."
This Performance Tuning's Lunch & Learn event focuses on management, planning, and budgeting, not features and technology, and provides you and your management teams the information they need to perform the next database upgrade or migration cycle.
The document provides instructions for using Oracle Forms Developer 10g to build internet applications, including an instructor guide with objectives, course content, and chapters on creating forms, working in the Forms Builder environment, creating data blocks and items, and more. It contains proprietary information from Oracle Corporation and is protected by copyright law.
The document discusses several SQL best practices and new features in SQL Server 2012. It covers basic concepts like sets and order in relational databases. It also discusses strategic imperatives like stability, adaptability and maintainability. New SQL Server 2012 features highlighted include xVelocity in-memory technologies, columnstore indexes, Power View interactive reporting, data compression techniques, and the Data Quality Services for data cleansing and profiling. The document also provides tips on topics like layered coding, efficient resource usage, avoiding cursors, proper use of transactions, and joins versus other operators.
This document outlines a 3-month Oracle Database 11g course consisting of 3 modules. Module I covers SQL fundamentals and database object management over 8 chapters. Module II focuses on database administration topics such as installation, storage, users, and security. Module III continues the administration theme with chapters on RMAN, performance, and globalization.
This document is the student guide for SQL1. It contains 3 chapters that introduce basic SQL concepts like SELECT statements, restricting and sorting data, and single-row functions. The guide provides learning objectives, syntax examples, and practice exercises for each topic.
The Pala kings were people-protectors. In fact, Gopal was elected to the throne only to end Matsya Nyaya. Bhagalpur Abhiledh states that Dharmapala imposed only fair taxes on the people. Rampala abolished the unjust taxes imposed by Bhima. The Pala rulers were lovers of learning. Vikramshila University was established by Dharmapala. He opened 50 other learning centers. A famous Buddhist scholar named Haribhadra was to be present in his court. Devpala appointed another Buddhist scholar named Veerdeva as the vice president of Nalanda Vihar. Among other scholars of this period, Sandhyakar Nandi, Chakrapani Dutta and Vajradatta are especially famous. Sandhyakar Nandi wrote the famous poem of this period 'Ramcharit'.
Exploring Substances:
Acidic, Basic, and
Neutral
Welcome to the fascinating world of acids and bases! Join siblings Ashwin and
Keerthi as they explore the colorful world of substances at their school's
National Science Day fair. Their adventure begins with a mysterious white paper
that reveals hidden messages when sprayed with a special liquid.
In this presentation, we'll discover how different substances can be classified as
acidic, basic, or neutral. We'll explore natural indicators like litmus, red rose
extract, and turmeric that help us identify these substances through color
changes. We'll also learn about neutralization reactions and their applications in
our daily lives.
by sandeep swamy
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
Geography Sem II Unit 1C Correlation of Geography with other school subjectsProfDrShaikhImran
The correlation of school subjects refers to the interconnectedness and mutual reinforcement between different academic disciplines. This concept highlights how knowledge and skills in one subject can support, enhance, or overlap with learning in another. Recognizing these correlations helps in creating a more holistic and meaningful educational experience.
As of Mid to April Ending, I am building a new Reiki-Yoga Series. No worries, they are free workshops. So far, I have 3 presentations so its a gradual process. If interested visit: https://www.slideshare.net/YogaPrincess
https://ldmchapels.weebly.com
Blessings and Happy Spring. We are hitting Mid Season.
This chapter provides an in-depth overview of the viscosity of macromolecules, an essential concept in biophysics and medical sciences, especially in understanding fluid behavior like blood flow in the human body.
Key concepts covered include:
✅ Definition and Types of Viscosity: Dynamic vs. Kinematic viscosity, cohesion, and adhesion.
⚙️ Methods of Measuring Viscosity:
Rotary Viscometer
Vibrational Viscometer
Falling Object Method
Capillary Viscometer
🌡️ Factors Affecting Viscosity: Temperature, composition, flow rate.
🩺 Clinical Relevance: Impact of blood viscosity in cardiovascular health.
🌊 Fluid Dynamics: Laminar vs. turbulent flow, Reynolds number.
🔬 Extension Techniques:
Chromatography (adsorption, partition, TLC, etc.)
Electrophoresis (protein/DNA separation)
Sedimentation and Centrifugation methods.
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...larencebapu132
This is short and accurate description of World war-1 (1914-18)
It can give you the perfect factual conceptual clarity on the great war
Regards Simanchala Sarab
Student of BABed(ITEP, Secondary stage)in History at Guru Nanak Dev University Amritsar Punjab 🙏🙏
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingCeline George
The Accounting module in Odoo 17 is a complete tool designed to manage all financial aspects of a business. Odoo offers a comprehensive set of tools for generating financial and tax reports, which are crucial for managing a company's finances and ensuring compliance with tax regulations.
INTRO TO STATISTICS
INTRO TO SPSS INTERFACE
CLEANING MULTIPLE CHOICE RESPONSE DATA WITH EXCEL
ANALYZING MULTIPLE CHOICE RESPONSE DATA
INTERPRETATION
Q & A SESSION
PRACTICAL HANDS-ON ACTIVITY
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
3. iii
Contents
1 Introduction
Lesson Objectives 1-2
Lesson Agenda 1-3
Course Objectives 1-4
Course Prerequisites 1-5
Course Agenda 1-6
Lesson Agenda 1-7
Tables Used in This Course 1-8
Appendixes and Practices Used in This Course 1-10
Development Environments 1-11
Lesson Agenda 1-12
Review of Restricting Data 1-13
Review of Sorting Data 1-14
Review of SQL Functions 1-15
Review of Single-Row Functions 1-16
Review of Types of Group Functions 1-17
Review of Using Subqueries 1-18
Review of Managing Tables Using DML Statements 1-20
Lesson Agenda 1-22
Oracle Database SQL Documentation 1-23
Additional Resources 1-24
Summary 1-25
Practice 1: Overview 1-26
2 Introduction to Data Dictionary Views
Objectives 2-2
Lesson Agenda 2-3
Data Dictionary 2-4
Data Dictionary Structure 2-5
How to Use the Dictionary Views 2-7
USER_OBJECTS and ALL_OBJECTS Views 2-8
USER_OBJECTS View 2-9
Lesson Agenda 2-10
Table Information 2-11
Column Information 2-12
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
4. iv
Constraint Information 2-14
USER_CONSTRAINTS: Example 2-15
Querying USER_CONS_COLUMNS 2-16
Lesson Agenda 2-17
Adding Comments to a Table 2-18
Quiz 2-19
Summary 2-20
Practice 2: Overview 2-21
3 Creating Sequences, Synonyms, and Indexes
Objectives 3-2
Lesson Agenda 3-3
Database Objects 3-4
Referencing Another User’s Tables 3-5
Sequences 3-6
CREATE SEQUENCE Statement: Syntax 3-7
Creating a Sequence 3-9
NEXTVAL and CURRVAL Pseudocolumns 3-10
Using a Sequence 3-12
SQL Column defaulting using a Sequence 3-13
Caching Sequence Values 3-14
Modifying a Sequence 3-15
Guidelines for Modifying a Sequence 3-16
Sequence Information 3-17
Lesson Agenda 3-18
Synonyms 3-19
Creating a Synonym for an Object 3-20
Creating and Removing Synonyms 3-21
Synonym Information 3-22
Lesson Agenda 3-23
Indexes 3-24
How Are Indexes Created? 3-25
Creating an Index 3-26
CREATE INDEX with the CREATE TABLE Statement 3-27
Function-Based Indexes 3-29
Creating Multiple Indexes on the Same Set of Columns 3-30
Example of Creating Multiple Indexes on the Same Set Of Columns 3-31
Index Creation Guidelines 3-32
Index Information 3-33
USER_INDEXES: Examples 3-34
Querying USER_IND_COLUMNS 3-35
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
5. v
Removing an Index 3-36
Quiz 3-37
Summary 3-38
Practice 3: Overview 3-39
4 Creating Views
Objectives 4-2
Lesson Agenda 4-3
Database Objects 4-4
What Is a View? 4-5
Advantages of Views 4-6
Simple Views and Complex Views 4-7
Creating a View 4-8
Retrieving Data from a View 4-11
Modifying a View 4-12
Creating a Complex View 4-13
View Information 4-14
Rules for Performing DML Operations on a View 4-15
Using the WITH CHECK OPTION Clause 4-18
Denying DML Operations 4-19
Removing a View 4-21
Quiz 4-22
Summary 4-23
Practice 4: Overview 4-24
5 Managing Schema Objects
Objectives 5-2
Lesson Agenda 5-3
Adding a Constraint Syntax 5-4
Adding a Constraint 5-5
Dropping a Constraint 5-6
Dropping a CONSTRAINT ONLINE 5-7
ON DELETE Clause 5-8
Cascading Constraints 5-9
Renaming Table Columns and Constraints 5-12
Disabling Constraints 5-13
Enabling Constraints 5-14
Deferring Constraints 5-15
Difference Between INITIALLY DEFERRED and INITIALLY IMMEDIATE 5-16
DROP TABLE … PURGE 5-18
Lesson Agenda 5-19
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
6. vi
Temporary Tables 5-20
Creating a Temporary Table 5-21
Lesson Agenda 5-22
External Tables 5-23
Creating a Directory for the External Table 5-24
Creating an External Table 5-26
Creating an External Table by Using ORACLE_LOADER 5-28
Querying External Tables 5-30
Creating an External Table by Using ORACLE_DATAPUMP: Example 5-31
Quiz 5-32
Summary 5-33
Practice 5: Overview 5-34
6 Retrieving Data by Using Subqueries
Objectives 6-2
Lesson Agenda 6-3
Retrieving Data by Using a Subquery as a Source 6-4
Lesson Agenda 6-6
Multiple-Column Subqueries 6-7
Column Comparisons 6-8
Pairwise Comparison Subquery 6-9
Nonpairwise Comparison Subquery 6-11
Lesson Agenda 6-13
Scalar Subquery Expressions 6-14
Scalar Subqueries: Examples 6-15
Lesson Agenda 6-17
Correlated Subqueries 6-18
Using Correlated Subqueries 6-20
Lesson Agenda 6-22
Using the EXISTS Operator 6-23
Find All Departments That Do Not Have Any Employees 6-25
Lesson Agenda 6-26
WITH Clause 6-27
WITH Clause: Example 6-28
Recursive WITH Clause 6-30
Recursive WITH Clause: Example 6-31
Quiz 6-32
Summary 6-33
Practice 6: Overview 6-34
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
7. vii
7 Manipulating Data by Using Subqueries
Objectives 7-2
Lesson Agenda 7-3
Using Subqueries to Manipulate Data 7-4
Lesson Agenda 7-5
Inserting by Using a Subquery as a Target 7-6
Lesson Agenda 7-8
Using the WITH CHECK OPTION Keyword on DML Statements 7-9
Lesson Agenda 7-11
Correlated UPDATE 7-12
Using Correlated UPDATE 7-13
Correlated DELETE 7-15
Using Correlated DELETE 7-16
Summary 7-17
Practice 7: Overview 7-18
8 Controlling User Access
Objectives 8-2
Lesson Agenda 8-3
Controlling User Access 8-4
Privileges 8-5
System Privileges 8-6
Creating Users 8-7
User System Privileges 8-8
Granting System Privileges 8-10
Lesson Agenda 8-11
What Is a Role? 8-12
Creating and Granting Privileges to a Role 8-13
Changing Your Password 8-14
Lesson Agenda 8-15
Object Privileges 8-16
Granting Object Privileges 8-18
Passing On Your Privileges 8-19
Confirming Granted Privileges 8-20
Lesson Agenda 8-21
Revoking Object Privileges 8-22
Quiz 8-24
Summary 8-25
Practice 8: Overview 8-26
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
8. viii
9 Manipulating Data
Objectives 9-2
Lesson Agenda 9-3
Explicit Default Feature: Overview 9-4
Using Explicit Default Values 9-5
Copying Rows from Another Table 9-6
Lesson Agenda 9-7
Multitable INSERT Statements: Overview 9-8
Types of Multitable INSERT Statements 9-10
Multitable INSERT Statements 9-11
Unconditional INSERT ALL 9-13
Conditional INSERT ALL: Example 9-15
Conditional INSERT ALL 9-16
Conditional INSERT FIRST: Example 9-18
Conditional INSERT FIRST 9-19
Pivoting INSERT 9-21
Lesson Agenda 9-24
MERGE Statement 9-25
MERGE Statement Syntax 9-26
Merging Rows: Example 9-27
Lesson Agenda 9-30
FLASHBACK TABLE Statement 9-31
Using the FLASHBACK TABLE Statement 9-33
Lesson Agenda 9-34
Tracking Changes in Data 9-35
Flashback Version Query: Example 9-36
VERSIONS BETWEEN Clause 9-37
Quiz 9-38
Summary 9-40
Practice 9: Overview 9-41
10 Managing Data in Different Time Zones
Objectives 10-2
Lesson Agenda 10-3
Time Zones 10-4
TIME_ZONE Session Parameter 10-5
CURRENT_DATE, CURRENT_TIMESTAMP, and LOCALTIMESTAMP 10-6
Comparing Date and Time in a Session’s Time Zone 10-7
DBTIMEZONE and SESSIONTIMEZONE 10-9
TIMESTAMP Data Types 10-10
TIMESTAMP Fields 10-11
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
9. ix
Difference Between DATE and TIMESTAMP 10-12
Comparing TIMESTAMP Data Types 10-13
Lesson Agenda 10-14
INTERVAL Data Types 10-15
INTERVAL Fields 10-17
INTERVAL YEAR TO MONTH: Example 10-18
INTERVAL DAY TO SECOND Data Type: Example 10-20
Lesson Agenda 10-21
EXTRACT 10-22
TZ_OFFSET 10-23
FROM_TZ 10-25
TO_TIMESTAMP 10-26
TO_YMINTERVAL 10-27
TO_DSINTERVAL 10-28
Daylight Saving Time (DST) 10-29
Quiz 10-31
Summary 10-32
Practice 10: Overview 10-33
A Table Descriptions
B Using SQL Developer
Objectives B-2
What Is Oracle SQL Developer? B-3
Specifications of SQL Developer B-4
SQL Developer 3.2 Interface B-5
Creating a Database Connection B-7
Browsing Database Objects B-10
Displaying the Table Structure B-11
Browsing Files B-12
Creating a Schema Object B-13
Creating a New Table: Example B-14
Using the SQL Worksheet B-15
Executing SQL Statements B-19
Saving SQL Scripts B-20
Executing Saved Script Files: Method 1 B-21
Executing Saved Script Files: Method 2 B-22
Formatting the SQL Code B-23
Using Snippets B-24
Using Snippets: Example B-25
Using Recycle Bin B-26
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
10. x
Debugging Procedures and Functions B-27
Database Reporting B-28
Creating a User-Defined Report B-29
Search Engines and External Tools B-30
Setting Preferences B-31
Resetting the SQL Developer Layout B-33
Data Modeler in SQL Developer B-34
Summary B-35
C Using SQL*Plus
Objectives C-2
SQL and SQL*Plus Interaction C-3
SQL Statements Versus SQL*Plus Commands C-4
Overview of SQL*Plus C-5
Logging In to SQL*Plus C-6
Displaying the Table Structure C-7
SQL*Plus Editing Commands C-9
Using LIST, n, and APPEND C-11
Using the CHANGE Command C-12
SQL*Plus File Commands C-13
Using the SAVE, START Commands C-14
SERVEROUTPUT Command C-15
Using the SQL*Plus SPOOL Command C-16
Using the AUTOTRACE Command C-17
Summary C-18
D Commonly Used SQL Commands
Objectives D-2
Basic SELECT Statement D-3
SELECT Statement D-4
WHERE Clause D-5
ORDER BY Clause D-6
GROUP BY Clause D-7
Data Definition Language D-8
CREATE TABLE Statement D-9
ALTER TABLE Statement D-10
DROP TABLE Statement D-11
GRANT Statement D-12
Privilege Types D-13
REVOKE Statement D-14
TRUNCATE TABLE Statement D-15
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
11. xi
Data Manipulation Language D-16
INSERT Statement D-17
UPDATE Statement Syntax D-18
DELETE Statement D-19
Transaction Control Statements D-20
COMMIT Statement D-21
ROLLBACK Statement D-22
SAVEPOINT Statement D-23
Joins D-24
Types of Joins D-25
Qualifying Ambiguous Column Names D-26
Natural Join D-27
Equijoins D-28
Retrieving Records with Equijoins D-29
Additional Search Conditions Using the AND and WHERE Operators D-30
Retrieving Records with Nonequijoins D-31
Retrieving Records by Using the USING Clause D-32
Retrieving Records by Using the ON Clause D-33
Left Outer Join D-34
Right Outer Join D-35
Full Outer Join D-36
Self-Join: Example D-37
Cross Join D-38
Summary D-39
E Generating Reports by Grouping Related Data
Objectives E-2
Review of Group Functions E-3
Review of the GROUP BY Clause E-4
Review of the HAVING Clause E-5
GROUP BY with ROLLUP and CUBE Operators E-6
ROLLUP Operator E-7
ROLLUP Operator: Example E-8
CUBE Operator E-9
CUBE Operator: Example E-10
GROUPING Function E-11
GROUPING Function: Example E-12
GROUPING SETS E-13
GROUPING SETS: Example E-15
Composite Columns E-17
Composite Columns: Example E-19
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
12. xii
Concatenated Groupings E-21
Concatenated Groupings: Example E-22
Summary E-23
F Hierarchical Retrieval
Objectives F-2
Sample Data from the EMPLOYEES Table F-3
Natural Tree Structure F-4
Hierarchical Queries F-5
Walking the Tree F-6
Walking the Tree: From the Bottom Up F-8
Walking the Tree: From the Top Down F-9
Ranking Rows with the LEVEL Pseudocolumn F-10
Formatting Hierarchical Reports Using LEVEL and LPAD F-11
Pruning Branches F-13
Summary F-14
G Writing Advanced Scripts
Objectives G-2
Using SQL to Generate SQL G-3
Creating a Basic Script G-4
Controlling the Environment G-5
The Complete Picture G-6
Dumping the Contents of a Table to a File G-7
Generating a Dynamic Predicate G-9
Summary G-11
H Oracle Database Architectural Components
Objectives H-2
Oracle Database Architecture: Overview H-3
Oracle Database Server Structures H-4
Connecting to the Database H-5
Interacting with an Oracle Database H-6
Oracle Memory Architecture H-8
Process Architecture H-10
Database Writer Process H-12
Log Writer Process H-13
Checkpoint Process H-14
System Monitor Process H-15
Process Monitor Process H-16
Oracle Database Storage Architecture H-17
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
13. xiii
Logical and Physical Database Structures H-19
Processing a SQL Statement H-21
Processing a Query H-22
Shared Pool H-23
Database Buffer Cache H-25
Program Global Area (PGA) H-26
Processing a DML Statement H-27
Redo Log Buffer H-29
Rollback Segment H-30
COMMIT Processing H-31
Summary of the Oracle Database Architecture H-33
Summary H-34
I Regular Expression Support
Objectives I-2
What Are Regular Expressions? I-3
Benefits of Using Regular Expressions I-4
Using the Regular Expressions Functions and Conditions in SQL and PL/SQL I-5
What Are Metacharacters? I-6
Using Metacharacters with Regular Expressions I-7
Regular Expressions Functions and Conditions: Syntax I-9
Performing a Basic Search by Using the REGEXP_LIKE Condition I-10
Replacing Patterns by Using the REGEXP_REPLACE Function I-11
Finding Patterns by Using the REGEXP_INSTR Function I-12
Extracting Substrings by Using the REGEXP_SUBSTR Function I-13
Subexpressions I-14
Using Subexpressions with Regular Expression Support I-15
Why Access the nth Subexpression? I-16
REGEXP_SUBSTR: Example I-17
Using the REGEXP_COUNT Function I-18
Regular Expressions and Check Constraints: Examples I-19
Quiz I-20
Summary I-21 OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
23. • The JOB_GRADES table identifies a salary range per job grade. The salary ranges do
not overlap.
• The JOB_HISTORY table stores job history of the employees.
• The JOBS table contains job titles and salary ranges.
Oracle Database 12c: SQL Workshop II 1 - 9
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
33. In the example, the MIN group function returns a single value to the outer query.
Note: In this course, you learn how to use multiple-column subqueries. Multiple-column
subqueries return more than one column from the inner SELECT statement.
Oracle Database 12c: SQL Workshop II 1 - 19
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
35. You can remove existing rows by using the DELETE statement. You can delete specific rows
by specifying the WHERE clause in the DELETE statement.
DELETE [FROM] table
[WHERE condition];
You learn about the MERGE statement in the lesson titled “Manipulating Data.”
Oracle Database 12c: SQL Workshop II 1 - 21
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
70. ORDER Specify ORDER to guarantee that sequence numbers are
generated in order of request. This clause is useful if you
are using the sequence numbers as timestamps.
NOORDER Specify NOORDER if you do not want to guarantee that
sequence numbers are generated in order of request.
This is the default.
CYCLE | NOCYCLE Specifies whether the sequence continues to generate
values after reaching its maximum or minimum value
(NOCYCLE is the default option.)
CACHE n | NOCACHE Specifies how many values the Oracle Server pre-
allocates and keeps in memory (By default, the Oracle
server caches 20 values.)
Oracle Database 12c: SQL Workshop II 3 - 8
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
73. Rules for Using NEXTVAL and CURRVAL
You can use NEXTVAL and CURRVAL in the following contexts:
• The SELECT list of a SELECT statement that is not part of a subquery
• The SELECT list of a subquery in an INSERT statement
• The VALUES clause of an INSERT statement
• The SET clause of an UPDATE statement
You cannot use NEXTVAL and CURRVAL in the following contexts:
• The SELECT list of a view
• A SELECT statement with the DISTINCT keyword
• A SELECT statement with GROUP BY, HAVING, or ORDER BY clauses
• A subquery in a SELECT, DELETE, or UPDATE statement
For more information, see the “Pseudocolumns” and “CREATE SEQUENCE” sections in Oracle
Database SQL Language Reference for Oracle Database 12c.
Oracle Database 12c: SQL Workshop II 3 - 11
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
90. Observe that the Oracle Server gives a generic name to the index that is created for the
PRIMARY KEY column.
You can also use an existing index for your PRIMARY KEY column—for example, when you
are expecting a large data load and want to speed up the operation. You may want to disable
the constraints while performing the load and then enable them, in which case having a
unique index on the PRIMARY KEY will still cause the data to be verified during the load.
Therefore, you can first create a nonunique index on the column designated as PRIMARY
KEY, and then create the PRIMARY KEY column and specify that it should use the existing
index. The following examples illustrate this process:
Step 1: Create the table:
CREATE TABLE NEW_EMP2
(employee_id NUMBER(6),
first_name VARCHAR2(20),
last_name VARCHAR2(25)
);
Step 2: Create the index:
CREATE INDEX emp_id_idx2 ON
new_emp2(employee_id);
Step 3: Create the PRIMARY KEY:
ALTER TABLE new_emp2 ADD PRIMARY KEY (employee_id) USING INDEX
emp_id_idx2;
Oracle Database 12c: SQL Workshop II 3 - 28
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
137. • Enabling a PRIMARY KEY constraint that was disabled with the CASCADE option does not
enable any FOREIGN KEYs that are dependent on the PRIMARY KEY.
• To enable a UNIQUE or PRIMARY KEY constraint, you must have the privileges necessary
to create an index on the table.
Oracle Database 12c: SQL Workshop II 5 - 11
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
143. INSERT INTO emp_new_sal VALUES(110, -1);
The row insertion is successful. But you observe an error when you commit the transaction.
COMMIT;
The commit failed due to constraint violation. Therefore, at this point, the transaction is rolled
back by the database.
Example 3: Set the DEFERRED status to all constraints that can be deferred. Note that you can
also set the DEFERRED status to a single constraint if required.
SET CONSTRAINTS ALL DEFERRED;
Now, if you attempt to insert a row that violates the sal_ck constraint, the statement is
executed successfully.
INSERT INTO emp_new_sal VALUES(90,5);
However, you observe an error when you commit the transaction. The transaction fails and is
rolled back. This is because both the constraints are checked upon COMMIT.
COMMIT;
Example 4: Set the IMMEDIATE status to both the constraints that were set as DEFERRED in
the previous example.
SET CONSTRAINTS ALL IMMEDIATE;
You observe an error if you attempt to insert a row that violates either sal_ck or bonus_ck.
INSERT INTO emp_new_sal VALUES(110, -1);
Note: If you create a table without specifying constraint deferability, the constraint is checked
immediately at the end of each statement. For example, with the CREATE TABLE statement of
the newemp_details table, if you do not specify the newemp_det_pk constraint deferability,
the constraint is checked immediately.
CREATE TABLE newemp_details(emp_id NUMBER, emp_name
VARCHAR2(20),
CONSTRAINT newemp_det_pk PRIMARY KEY(emp_id));
When you attempt to defer the newemp_det_pk constraint that is not deferrable, you observe
the following error:
SET CONSTRAINT newemp_det_pk DEFERRED;
Oracle Database 12c: SQL Workshop II 5 - 17
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
151. Syntax
CREATE [OR REPLACE] DIRECTORY AS 'path_name';
In the syntax:
OR REPLACE Specify OR REPLACE to re-create the directory database
object if it already exists. You can use this clause to change
the definition of an existing directory without dropping, re-creating,
and regranting database object privileges previously granted
on the directory. Users who were previously granted privileges
on a redefined directory can continue to access the directory
without requiring that the privileges be regranted.
directory Specify the name of the directory object to be created. The
maximum length of the directory name is 30 bytes. You
cannot qualify a directory object with a schema name.
'path_name' Specify the full path name of the operating system directory
to be accessed. The path name is case-sensitive.
Oracle Database 12c: SQL Workshop II 5 - 25
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
153. Use the LOCATION clause to specify one external locator for each external data source.
Usually, <location_specifier> is a file, but it need not be.
The REJECT LIMIT clause enables you to specify how many conversion errors can occur
during a query of the external data before an Oracle error is returned and the query is aborted.
The default value is 0.
The syntax for using the ORACLE_DATAPUMP access driver is as follows:
CREATE TABLE extract_emps
ORGANIZATION EXTERNAL (TYPE ORACLE_DATAPUMP
DEFAULT DIRECTORY …
ACCESS PARAMETERS (… )
LOCATION (…)
PARALLEL 4
REJECT LIMIT UNLIMITED
AS
SELECT * FROM …;
Oracle Database 12c: SQL Workshop II 5 - 27
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
155. In the example, the TYPE specification is given only to illustrate its use. ORACLE_LOADER is the
default access driver if not specified. The ACCESS PARAMETERS option provides values to
parameters of the specific access driver, which are interpreted by the access driver, not by the
Oracle Server.
The PARALLEL clause enables five parallel execution servers to simultaneously scan the
external data sources (files) when executing the INSERT INTO TABLE statement. For example,
if PARALLEL=5 were specified, more than one parallel execution server can be working on a
data source. Because external tables can be very large, for performance reasons, it is advisable
to specify the PARALLEL clause, or a parallel hint for the query.
The REJECT LIMIT clause specifies that if more than 200 conversion errors occur during a
query of the external data, the query must be aborted and an error must be returned. These
conversion errors can arise when the access driver tries to transform the data in the data file to
match the external table definition.
After the CREATE TABLE command executes successfully, the OLDEMP external table can be
described and queried in the same way as a relational table.
Oracle Database 12c: SQL Workshop II 5 - 29
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
165. You can display the same output as in the example in the slide by performing the following
two steps:
1. Create a database view:
CREATE OR REPLACE VIEW european_cities
AS
SELECT l.location_id, l.city, l.country_id
FROM locations l
JOIN countries c
ON(l.country_id = c.country_id)
JOIN regions USING(region_id)
WHERE region_name = 'Europe';
2. Join the EUROPEAN_CITIES view with the DEPARTMENTS table:
SELECT department_name, city
FROM departments
NATURAL JOIN european_cities;
Note: You learned how to create database views in the lesson titled Creating Views.
Oracle Database 12c: SQL Workshop II 6 - 5
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
170. These values are compared with the MANAGER_ID column and the DEPARTMENT_ID column of
each row in the EMPL_DEMO table. If the combination matches, the row is displayed. In the
output, the records of the employees with the FIRST_NAME of “John” will not be displayed. The
following is the output of the query in the slide:
Oracle Database 12c: SQL Workshop II 6 - 10
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
172. The following is the output of the query in the slide:
This query retrieves more rows than the pairwise comparison (those with the combination of
manager_id=100 and department_id=50 or 80, although no employee named “John” has
such a combination).
Oracle Database 12c: SQL Workshop II 6 - 12
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
176. The second example in the slide demonstrates that scalar subqueries can be used in the ORDER
BY clause. The example orders the output based on the DEPARTMENT_NAME by matching the
DEPARTMENT_ID from the EMPLOYEES table with the DEPARTMENT_ID from the
DEPARTMENTS table. This comparison is done in a scalar subquery in the ORDER BY clause.
The following is the result of the second example:
The second example uses a correlated subquery. In a correlated subquery, the subquery
references a column from a table referred to in the parent statement. Correlated subqueries are
explained later in this lesson.
…
Oracle Database 12c: SQL Workshop II 6 - 16
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
204. The use of an inline view with the WITH CHECK OPTION provides an easy method to prevent
changes to the table.
To prevent the creation of a non-European city, you can also use a database view by
performing the following steps:
1. Create a database view:
CREATE OR REPLACE VIEW european_cities
AS
SELECT location_id, city, country_id
FROM locations
WHERE country_id in
(SELECT country_id
FROM countries
NATURAL JOIN regions
WHERE region_name = 'Europe')
WITH CHECK OPTION;
2. Verify the results by inserting data:
INSERT INTO european_cities
VALUES (3400,'New York','US');
The second step produces the same error as shown in the slide.
Oracle Database 12c: SQL Workshop II 7 - 10
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
208. This example uses the REWARDS table. The REWARDS table has the following columns:
EMPLOYEE_ID, PAY_RAISE, and PAYRAISE_DATE. Every time an employee gets a pay
raise, a record with details such as the employee ID, the amount of the pay raise, and the
date of receipt of the pay raise is inserted into the REWARDS table. The REWARDS table can
contain more than one record for an employee. The PAYRAISE _DATE column is used to
identify the most recent pay raise received by an employee.
In the example, the SALARY column in the EMPL6 table is updated to reflect the latest pay
raise received by the employee. This is done by adding the current salary of the employee
with the corresponding pay raise from the REWARDS table.
Oracle Database 12c: SQL Workshop II 7 - 14
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
221. In the syntax:
privilege Is the system privilege to be granted
user |role|PUBLIC Is the name of the user, the name of the role, or PUBLIC
(which designates that every user is granted the privilege)
Note: Current system privileges can be found in the SESSION_PRIVS dictionary view. Data
dictionary is a collection of tables and views created and maintained by the Oracle Server.
They contain information about the database.
Oracle Database 12c: SQL Workshop II 8 - 9
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
250. Conditional INSERT: FIRST
If you specify FIRST, the Oracle Server evaluates each WHEN clause in the order in which it
appears in the statement. If the first WHEN clause evaluates to true, the Oracle Server executes
the corresponding INTO clause and skips subsequent WHEN clauses for the given row.
Conditional INSERT: ELSE Clause
For a given row, if no WHEN clause evaluates to true:
• If you have specified an ELSE clause, the Oracle Server executes the INTO clause list
associated with the ELSE clause
• If you did not specify an ELSE clause, the Oracle Server takes no action for that row
Restrictions on Multitable INSERT Statements
• You can perform multitable INSERT statements only on tables, and not on views or
materialized views.
• You cannot perform a multitable INSERT on a remote table.
• You cannot specify a table collection expression when performing a multitable INSERT.
• In a multitable INSERT, all insert_into_clauses cannot combine to specify more than
999 target columns.
Oracle Database 12c: SQL Workshop II 9 - 12
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
252. A total of 12 rows were inserted:
SELECT COUNT(*) total_in_sal FROM sal_history;
SELECT COUNT(*) total_in_mgr FROM mgr_history;
Oracle Database 12c: SQL Workshop II 9 - 14
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
255. You can also optionally use the ELSE clause with the INSERT ALL statement.
Example:
INSERT ALL
WHEN job_id IN
(select job_id FROM jobs WHERE job_title LIKE '%Manager%') THEN
INTO managers2(last_name,job_id,SALARY)
VALUES (last_name,job_id,SALARY)
WHEN SALARY>10000 THEN
INTO richpeople(last_name,job_id,SALARY)
VALUES (last_name,job_id,SALARY)
ELSE
INTO poorpeople VALUES (last_name,job_id,SALARY)
SELECT * FROM employees;
Result:
116 rows inserted
Oracle Database 12c: SQL Workshop II 9 - 17
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
258. A total of 107 rows were inserted:
SELECT count(*) low FROM sal_low;
SELECT count(*) mid FROM sal_mid;
SELECT count(*) high FROM sal_high;
Oracle Database 12c: SQL Workshop II 9 - 20
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
261. SELECT * FROM SALES_SOURCE_DATA;
DESC SALES_INFO
SELECT * FROM sales_info;
Observe in the preceding example that by using a pivoting INSERT, one row from the
SALES_SOURCE_DATA table is converted into five records for the relational table, SALES_INFO.
Oracle Database 12c: SQL Workshop II 9 - 23
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED
266. INSERT VALUES(e.employee_id, e.first_name, e.last_name,
e.email, e.phone_number, e.hire_date, e.job_id,
e.salary, e.commission_pct, e.manager_id,
e.department_id);
The COPY_EMP3 table is created by using the following code:
CREATE TABLE COPY_EMP3 AS SELECT * FROM EMPLOYEES
WHERE SALARY<10000;
Then query the COPY_EMP3 table.
SELECT employee_id, salary, commission_pct FROM COPY_EMP3;
Observe that there are some employees with SALARY < 10000 and there are two employees
with COMMISSION_PCT.
The example in the slide matches the EMPLOYEE_ID in the COPY_EMP3 table to the
EMPLOYEE_ID in the EMPLOYEES table. If a match is found, the row in the COPY_EMP3 table is
updated to match the row in the EMPLOYEES table and the salary of the employee is doubled.
The records of the two employees with values in the COMMISSION_PCT column are deleted. If
the match is not found, rows are inserted into the COPY_EMP3 table.
...
...
Oracle Database 12c: SQL Workshop II 9 - 28
OracleUniversityandEgabiSolutionsuseonly
THESEeKITMATERIALSAREFORYOURUSEINTHISCLASSROOMONLY.COPYINGeKITMATERIALSFROMTHISCOMPUTERISSTRICTLYPROHIBITED