Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. Show all posts

Wednesday, 15 March 2017

Sql Query To Compare Two Tables And Find Records With Matches

how to get matching records from two tables in oracle sql.
First  check the employee Records and check target records
for example i created  emp_target table  from emp with some duplicates in emp_target table.
Now Check the count of two table
SQL> SELECT COUNT(*) FROM EMP;

Wednesday, 22 February 2017

How to Uninstall Oracle 11g And Install Again in Windows7

How to Uninstall Oracle 10g in Windows7
 Uninstall all Oracle Components using the Oracle Universal Installer(OUI). but it is not appear in then follow below steps.
Step-1 
Go to Window Button -> click on it--> search for programs and Features.

Tuesday, 21 February 2017

Types Of Indexes In Oracle

  • Index is an Object in Oracle. 
  • It is a Performance Optimization Technique
  • It speed up or increase the performance of the Query Execution.
  • Index is creating automatically on Primary key and Unique Key.
  • No need to create index for primary and unique keys columns.

Monday, 20 February 2017

Determining The Leap Year In Oracle

Finding the Leap Year in Oracle or how to find leap year in oracle SQL

open sql*plus login user name with your respected password after that .
find the sysdate from Dual. It gives the respected First day of the Month. As Shown below when you use Number Function that is Trunc. If you use the To_Char function then it gives the same day of the month when you executed the query.

Thursday, 26 January 2017

SQL Aggregate Functions

Aggregate Functions summarizes the Result of an over a number of Rows in a table and give the result like one row. Actually Aggregate Function mostly used in Group by Function ,it means sum of salary, min of salary,max of salary,count of students,average of salary from each department.

SQL Clauses


SQL Sub Queries


SQL Joins

SQL Constrains

Oracle Datatypes

Oracle Sub Languages Or SQL Commands


SQL Tutorial

SQL Stands for "Structure Query Language" and Standard Relational Data Base Language. The SQL supports the all Database products like Oracle SQL,SQL Server, My SQL, DB2, Teradata etc .This tutorial teaches the How to write the queries,Trobleshoot and Optimize the SQL.

Wednesday, 18 January 2017

" Concat the column with Spaces between two columns in oracle plsql and oracle sql"

Below is the code in Step By Step process to get the result as you think like
"Spaces between the columns when you concat the two columns from table in oracle sal"
As per Your Requirement There is a 9 Steps to get Like below Result.

Monday, 16 January 2017

What is The SQL Language And Its Sub Languages

SQL is The Structure Query Language

  • SQL is used to Operate all relational data model Produts
  • In 19770 E.F.Codd Introduced Relational Data Model
  • And Also Introduced a new Language In Data Base side 
  • The Language is DSL/ALPHA Language. It a Non-Procedure Language

Introduction to Oracle

What is Oracle?                                  

  • Oracle is a Relational Database Product from Oracle Corporation
  • Which is used to store the data or information in secondary device.          
  • it is the top back-end technology.