Wednesday, May 21, 2014

Type of SQL join in Oracle

SQL Joins are to combine data from different tables to show relation between them . Example you can join  EMP table with DEPT table to get department along with Employee records.
See Also : Learn about Oracle Architecture here 
There are basically below type of Joins :

1. INNER Join :

SELECT emp.empno, emp.ename ,emp.job, dept.deptno,dept.dname
FROM emp
INNER JOIN dept
ON emp.deptno= dept.deptno;

2. Left Outer Join :


SELECT emp.empno, emp.ename ,emp.job, dept.deptno,dept.dname
FROM emp
LEFT OUTER JOIN dept
ON emp.deptno= dept.deptno;

3. Right Outer Join


SELECT emp.empno, emp.ename ,emp.job, dept.deptno,dept.dname
FROM emp
RIGHT OUTER JOIN dept
ON emp.deptno= dept.deptno;

4. Full Outer Join

SELECT emp.empno, emp.ename ,emp.job, dept.deptno,dept.dname
FROM emp
FULL OUTER JOIN dept
ON emp.deptno= dept.deptno;
I Found a good article on "Type of Oracle join with Example"  here
See Also : Learn about Oracle Architecture here 
Hope you enjoyed this small and useful article on SQL joins in Oracle :)


Saturday, May 17, 2014

XML Source in Informatica

XML is gaining its popularity as Data sharing and Data storage medium . With Newer version , Informatica started providing support to XML files as well,
We basically have 3 XML functionality in  Informatica :
3. XML transformation.

Here we will discuss about XML File source definition . First of all , e will need to import XML file source definition in Informatica . by
1. Clicking on Source -> Import XML Definition
2. Selecting the  sample XML File and then getting all node information .
3.Checking the format of various nodes
4.Closing the Dialog box
A more detailed example of XML File Source definition  in Informatica  can be found  here.
Another example to xreate XML Target file in Informatica can be found here.

XML Target in Informatica

XML is gaining its popularity as Data sharing and Data storage medium . With Newer version , Informatica started providing support to XML files as well,
We basically have 3 XML functionality in  Informatica :
3. XML transformation.

Here we will discuss about XML File Target  definition . First of all , e will need to import XML file source definition in Informatica . by
1. Clicking on Source -> Import XML Definition
2. Selecting the  sample XML File and then getting all node information .
3.Checking the format of various nodes
4.Closing the Dialog box

A more detailed example of XML File Source definition  in Informatica  can be found  here.
Another example to xreate XML Target file in Informatica can be found here.