Exforsys.com
 
Home Tutorials Oracle 9i
 

Tutorial 1: Introduction to Oracle 9i:SQL, PLSQL. and SQL *Plus

 

Tutorial 1: Introduction to Oracle 9i:SQL, PLSQL. and SQL *Plus

Page 1 of 2

After completing this week’s section you will learn about the basic concepts on SQL, SQL *Plus and PL/SQL. Please use discussion board if you have any questions, we will help you with more details explanation. If you do not understand and practice in the order we provide it will be difficult for you to learn Oracle.



Section 1: Using SQL *Plus to communicate with Oracle Databases


SQL*Plus is an interactive and batch query tool that is installed with every Oracle Server or Client installation. It has a command-line user interface, and more recently, a web-based user interface called iSQL*Plus.
On Windows platforms, context menu options accessed through the right mouse button enable local files to be sent to the iSQL*Plus user interface.


SQL*Plus has its own commands and environment, and it provides access to the Oracle RDBMS. It allows you to enter and execute SQL, PL/SQL, SQL*Plus and operating system commands to perform the following:


  1. enter SQL*Plus commands to configure the SQL*Plus environment
  2. enter, edit, store, retrieve, and run SQL commands and PL/SQL blocks
  3. format, perform calculations on, store, and print from query results
  4. interact with an end user
  5. startup and shutdown a database
  6. connect to a database
  7. define variables
  8. capture errors
  9. list column definitions for any table
  10. perform database administration

This chapter introduces you to SQL*Plus, covering the following topics:


Introducing SQL*Plus


This chapter provides introductory information to help you get started withSQL*Plus. Specific topics discussed are:


Using SQL*Plus


This chapter explains how to start and use SQL*Plus from both the command-line interface and the graphical user interface, and describes the graphical user interface menu options. It also describes how to use and configure the iSQL*Plus Extension for Windows.


Specific topics discussed are:


Introduction to SQL - Types of SQL Commands, Writing Simple SELECT Statements


  1. Simple SELECT statements
  2. Logical Operators and Aggregation
  3. JOINs and VIEWs
  4. Sub Queries and Schema

Download simple tutorials which helps you understand the topics we are trying to cover in this section.


Simple SELECT statements Download Tutorial


You can review the following sections in detail after you complete the tutorial from the download link above.



PL/SQL


PL/SQL is structured into blocks and can use conditional statements, loops and branches to control program flow. Variables can be scoped so that they are only visible within the block where they are defined.


PL/SQL is a database-orientated programming language that extends Oracle SQL with procedural capabilities. We will review in this lab the fundamental features of the language and learn how to integrate it with SQL to help solving database problems.


PL/SQL programs are organized in functions, procedures and packages. There is a limited support for object-oriented programming. PL/SQL is based on the ADA programming language.


PL/SQL blocks come in three types,


  1. Anonymous Procedure: An anonymous procedure is an unnamed procedure, it can't be called. It is placed where it is to be run, normally attached to a database trigger or application event.
  2. Named Procedure: A named procedure may be called, it may accept inbound parameters but won't explicitly return any value.
  3. Named Function: A named function may also be called, it may accept inbound parameters and will always return a value.

Next Page: Introduction to SQL


Read Next: Tutorial 2: SQL *Plus Commands



 

 

Comments


rags23 said:

  its really fantastic to loacte the reqvired matter here. thanx
November 11, 2006, 5:46 pm

vishakha arawal said:

  thanks so much
September 26, 2007, 10:11 am

ravikr said:

  how will transfer the data from flat file to database by using pl/sql
November 9, 2007, 1:57 am

hongsungwon said:

  thanks! sir
November 10, 2008, 1:51 am

SARATH.P.R said:

  This tutorial is very help full for beginers
December 11, 2008, 2:18 am

Magu said:

  Good one for beginners to learn sql
December 18, 2008, 3:33 pm

maria said:

  thanks for your help. This tutorial is very ususfull for us beginers.
December 23, 2008, 3:47 am

sandesh shivaraju said:

  where will i get the solutions for the practice questions in the book
introduction to oracle9i:sql
one more question is,
what is the query to display the last name and the job title of a table who do not have a manager?
December 30, 2008, 2:29 am

Ali said:

  Thanks For this hard works Great.
January 25, 2009, 4:40 am

R.SARANATHAN said:

  I would like to look for the course around chennai on Oracle apps supply chain mgmt and financials. [Oracle certified institute]
January 27, 2009, 12:42 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2010 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape