Found 61 Articles for Oracle

How to identify rows that are not parents of any other rows in a Hierarchy table in Oracle?

Kiran P
Updated on 04-Dec-2020 10:17:54

193 Views

Problem Statement: How to identify leaf rows in a Hierarchy table i.e. rows that are not parents of any other rows.Solution: Oracle provides CONNECT_BY_ISLEAF clause to identify rows that are not parents of any other rows. To begin with let us see how does a connect_by_isleaf works.SQL:/*   Function - Example to show if the row is parent of any other rows or not   Tables Used - students Data - Documented below */ SELECT student_id,        level,        CASE WHEN connect_by_isleaf = 0             THEN 'Yes'         ... Read More

How to remove a branch with in a hierarchy of data in Oracle?

Kiran P
Updated on 04-Dec-2020 10:15:53

418 Views

Problem Statement: You need to traverse the hierarchy data from top to bottom but doesn’t want a particular branch in the output.Solution: We will look at couple of examples for this problem statement.Oracle provides CONNECT BY clause to specify a hierarchical query i.e. how to connect the parent nodes and child nodes and the PRIOR operator to define the join condition/s between the parent nodes, and the LEVEL pseudo-column to indicate how far from the root/parent row the current row is.Additionally, we can use the START WITH clause to indicate where to start the tree navigation. We must use the PRIOR ... Read More

How to traverse Hierarchical data in Oracle and sort the rows at the same level in a hierarchy?

Kiran P
Updated on 04-Dec-2020 10:12:54

579 Views

Problem Statement: You need to traverse the hierarchy data from top to bottom and sort the rows at the same level in a hierarchy.Solution: The usual ORDER BY clause will not sort the rows at the same hierarchy level. We need to use SIBLINGS with in the ORDER BY Clause.Additionally, Oracle provides CONNECT BY clause to specify a hierarchical query i.e. how to connect the parent nodes and child nodes and the PRIOR operator to define the join condition/s between the parent nodes, and the LEVEL pseudo-column to indicate how far from the root/parent row the current row is.Additionally, we can ... Read More

How to traverse Hierarchical data in Oracle?

Kiran P
Updated on 04-Dec-2020 04:16:13

635 Views

Problem Statement: You need to traverse the hierarchy data from top to bottom marking the level of each row in the hierarchy.Solution:Oracle provides CONNECT BY clause to specify a hierarchical query i.e. how to connect the parent nodes and child nodes and the PRIOR operator to define the join condition/s between the parent nodes, and the LEVEL pseudo-column to indicate how far from the root/parent row the current row is.Additionally, we can use the START WITH clause to indicate where to start the tree navigation. We must use the PRIOR operator to specify the column/s in the parent row that have ... Read More

Difference between Oracle 11g and Oracle 12c

Himanshu shriv
Updated on 09-Sep-2020 12:10:22

5K+ Views

Oracle 12c is just upgraded version of the Oracle 11g with some new features like cloud support and pluggable database, kind of like master slave architecture. With the Oracle 12 c, you can plug your database to cloud anytime. It has multiple new features like JSON support, multitenant architecture and etc.Sr. No.KeyOracle 11gOracle 12c1BasicIt was released in released in 2008 and has no pluggable databaseIt is High performance RDbMS which is released in 2014. It is pluggable database.2Identity columnWe can't set primary key to raise automaticallyWe can set primary key to rise automatically.3JSON typeWe can't store Json directly to the ... Read More

Exploring ERP Modules of Oracle E-Business Suite

Sharon Christine
Updated on 24-Jan-2020 07:13:07

4K+ Views

The acronym ERP stands for enterprise resource planning. It refers to the systems and software packages used by organizations to manage day-to-day business.Oracle E-Business Suite is one of the most reputed ERP product which is currently available in the market – developed by Oracle. In the world of enterprise resource planning, very few software products have really made to the top ranks when it comes to worldwide implementations. Based on market share – SAP, Microsoft Dynamics are the close vendors who try to get the ERP share in almost all the regions.What is Oracle E-Business Suite?Oracle’s E-Business Suite (also known ... Read More

How to Install Java with Apt-Get on Ubuntu 16.04

Sharon Christine
Updated on 22-Jan-2020 06:15:40

893 Views

Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core a component of Sun Microsystems’ Java platform (Java 1.0 [J2SE]).The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. Ex − J2EE for Enterprise Applications, J2ME for Mobile Applications.The new J2 versions was renamed as Java SE, Java EE and Java ME respectively. Java is guaranteed to be a Write Once, Run Anywhere.This article explains about ‘How to ... Read More

Difference between oracle golden gate and oracle active guard in the oracle

Himanshu shriv
Updated on 21-Jan-2020 09:53:06

1K+ Views

Oracle golden gate and oracle active data guard is the data replication technologies. They both are used for data replication but with different strategy. As per the oracle docs −Oracle Active Data Guard provides the best data protection and availability for Oracle Database in the simplest most economical manner by maintaining an exact physical replica of the production copy at a remote location that is open read-only while replication is active. GoldenGate is an advanced logical replication product that supports multi-master replication, hub and spoke deployment and data transformation, providing customers very flexible options to address the complete range of replication requirements. ... Read More

Difference between logical and physical standby database in the oracle

Himanshu shriv
Updated on 21-Jan-2020 09:49:10

1K+ Views

Logical standby and physical standby database in two different types of standby database. In case of any failure of primary database Oracle transfer data from primary database to the standby database. This approach helps us to recover data from standby database in case of any failure.Logical standby database is not the exact copy of the primary database. Logical standby uses LogMiner techniques to transform the archived redo logs into native DML statements (insert, update, delete).  This DML is transported and applied to the standby database.Primary standby database is the exact copy of primary database so it helps to minimize the ... Read More

How to Add Disk Storage to Oracle Virtual Box on Linux

Sharon Christine
Updated on 21-Jan-2020 07:39:00

16K+ Views

This article is for those who are looking to install software on your Virtual Box but running low disk space issue. At the same time, you might also feel the need to add disk storage to Oracle VirtualBox by creating a new and larger drive to build the existing drive. Below are the steps to allocate more space by adding a virtual drive to a Virtual Box, The Guest VirtualBox is running the Red Hat Linux 6.7.Adding the Virtual DriveOpen Oracle VM Virtual Box Manager, select the Virtual Box for which you want to add the new disk and click ... Read More

Advertisements