Sie sind auf Seite 1von 12

DEPARTMENT OF TECHNICAL

EDUCATION ANDHRA PRADESH


Name : M.Bhagya Lakshmi,
Designation : Lecturer in CCP,
Institution : GMR Polytechnic, Gajwel
Branch : DCCP
Semester : V Semester
Major Topic : SQL Plus
Sub –Topic : SQL EDITOR
Subject name : RDBMS
Subject Code : CCP- 505
Duration : 50 min.
Teaching Aids : PPT
CCP505.41 1
Objectives

On Completion of this period ,you would be


able to know:
 Invoking of SQL
 SQL*PLUS

CCP505.41 2
Invoking SQL
 Start windows in the normal way
 Click on the start button and click on programs-
It displays list of program
 Click on Oracle and then select SQL*Plus
At this point you are connected to the Oracle
DBA, Oracle SQL*Plus tool allow you to pass
SQL Statements to the DBA (Data Base
Administrator)

CCP505.41 3
Invoking SQL (contd..)

 Once loaded, SQL PLUS shows the window for


user name and password
 Type user name say system/ scott and press tab
key
 Type password say manager/tiger and press
enter key

CCP505.41 4
Quitting SQL

SQL>quit

CCP505.41 5
Overview of SQL

The SQL language is subdivided according to their


functions as follows.
 Data Definition Language (DDL)
 Data Manipulation Language (DML)
 Data Control Language (DCL)

CCP505.41 6
SQL*Plus

 It is an Oracle specific program which accepts


SQL commands and PL/SQL blocks and executes
them
 SQL*Plus enables manipulation of SQL
commands and PL/SQL blocks
 It also performs many additional tasks as well

CCP505.41 7
Through SQL*Plus we can

 Enter, edit, store, retrieve, and run SQL


commands and PL/SQL blocks
 Format, perform calculations, store, and print
query results in the form of reports

CCP505.41 8
Through SQL*Plus we can (cont..)

 List column definitions for any table


 Access and copy data between SQL databases
 Send messages to and accept responses from an
end user

CCP505.41 9
Summary

We have discussed about


 Invoking of SQL
 SQL*PLUS

CCP505.41 10
Quiz
Default users are
b) Scott, manager
c) Scott, Tiger
d) Scott, system
e) System, manager

CCP505.41 11
Frequently Asked Questions
1. Write the Procedure to invoke SQL
2. What is SQL*PLUS

CCP505.41 12

Das könnte Ihnen auch gefallen