oracle

23
Welcome to Our Presentation

Upload: devendrakhairwa

Post on 07-Aug-2015

13 views

Category:

Technology


3 download

TRANSCRIPT

Welcome to Our Presentation

Presented By :-

DEVENDRA KHAIRWA

ORACLE

CEO @ ORACLE

Concept of Database

Oracle is the most widely used database in the world. It runs on virtually every kind of computer . It functions virtually identically on all these machines.

Oracle Overview

A database is a collection of information that is organized so that it can easily be accessed, managed, and updated.

The database management system are the computer software applications that interact with user, other applications and the database itself to capture and analyze data.

Well known DBMS’s include: MySQL, PostgreSQL, Microsoft SQL Server, Oracle and IBM DB2

Advantages of DBMS:• Data Independence• Efficient Data Access• Data Integrity and Security• Data Administration• Concurrent Access, easy recovery• Reduced application development time

Database Management System

DBMS

Server and database

Database Access

Comparison of ORACLE with other

databases

ORACLE based technologies

RDBMS

Example: The weather and Location Tables Even though the tables are independent, you can easily see that they

are related. The city name in one table is related to the city name in the other. This relationship is the basis for the name relational database.

This is the basic idea for a relational database (relational model). Data is stored in tables. Tables have columns, rows and names.

Tables can be related to each other if each has a column type of information.

Why is it called Relational ?

The Oracle DBMS can store and execute stored procedures and functions within it. PL/SQL (Oracle Corporation's proprietary procedural extension to SQL), or the object-oriented language Java can invoke such code objects and/or provide the programming structures for writing them.

Languages in ORACLE

PL/SQL is Oracle’s procedural language (PL) superset of the Structured Query Language (SQL) . You can use PL/SQL to do such things as codify your business rules through the creation of stored procedures and packages , trigger database events to occur, or add programming logic to the execution of SQL Commands. It involves creation of triggers , stored procedures and packages.

Syntax:Declare <declaration statement >Begin <executable commands >Exception <exception handling>End;

PL / SQL

Oracle SQL Developer is a free graphical tool designed to improve your productivity and simplify the development of everyday database tasks. With just a few clicks, you can easily create and debug stored procedures, test SQL statements, and view optimizer planes.

SQL Developer has two main navigation tabs – 1.Connection Navigator2. Reporting Tab

The menus at the top contain standard entries, plus entries for features specific to SQL Developer 1. View2. Navigate3. Run4. Source 5. Versioning6. Migration7. Tools

Oracle SQL Developer

A trigger defines an action the database should take when some database - related event occurs.Triggers may be used to supplement declarative referential integrity, to enforce complex business rules, or to audit changes to data.

The code within a trigger, called the trigger body, is made up of PL/SQL Blocks.

Trigger

Schema, views

A schema is the set of objects (tables, views and indexes , etc) that belongs to a user account . It’s often used as another way to refer to an Oracle account.

An Oracle View , is a virtual table that does not physically exist . Rather , it is created by a query joining one or more tables .

Can you update the data in an Oracle VIEW ?Does the Oracle View exist if the table is dropped from the database?

Queries

Select * from abcd where username= admin, password= 1234 ;

abcd

1234