3 - Introduction SQL Plus PDF
3 - Introduction SQL Plus PDF
Materi 3
MK. Manajemen dan Administrasi Basisdata
Dosen : Roni Salambue, M.Si
Objectives
• Explain about SQL Plus Architecture
• Learn about SQL Plus commands and their uses
Outline
• Overview
• Architecture
• Starting SQL Plus
• Exiting SQL Plus
• SQL*Plus’s Relation to SQL, PL/SQL, and the Oracle Database
SQL*Plus Overview
• SQL*Plus is an interactive and batch query tool that is installed with
every Oracle Database installation.
• It has a command-line user interface.
• SQL*Plus has its own commands and environment, and it provides
access to the Oracle Database.
• It enables you to enter and execute SQL, PL/SQL, SQL*Plus and
operating system commands to perform the following:
• Format, perform calculations on, store, and print from query results
• Examine table and object definitions
• Develop and run batch scripts
• Perform database administration
SQL*Plus Command-line Architecture
• SQL*Plus command-line uses a two-tier model comprising:
• Client (command-line user interface).
• Database (Oracle Database).
• The two tiers may be on the same machine.
• SQL*Plus Client The command-line user interface is the character-
based terminal implementation.
• Oracle Database Oracle Database Net components provide
communication between the SQL*Plus Client and Oracle Database.
Starting SQL*Plus Command-line - Connecting
to a Default Database
• Open a UNIX or a Windows terminal and enter the SQL*Plus command:
sqlplus