0% found this document useful (0 votes)
24 views

SQL Plus

SQL*Plus is a command line tool for accessing Oracle databases. It allows running SQL statements, scripts, and has a worksheet for writing and executing SQL. iSQL*Plus provides a browser-based interface to SQL*Plus for writing, running, and saving SQL commands and PL/SQL blocks.

Uploaded by

Imran Alam
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

SQL Plus

SQL*Plus is a command line tool for accessing Oracle databases. It allows running SQL statements, scripts, and has a worksheet for writing and executing SQL. iSQL*Plus provides a browser-based interface to SQL*Plus for writing, running, and saving SQL commands and PL/SQL blocks.

Uploaded by

Imran Alam
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

SQL *PLUS

CONTENT

• SQL *Plus Commands


• Errors & help Alternate Text Editors
• SQL *Plus Worksheet
• iSQL *Plus
INTRODUCTION

• SQL *Plus is a command-line tool that provides access to the oracle


RDBMS.
• SQL*Plus has been enhanced with scripting and formatting capabilities, and
can now be used for many different purposes.
COMMANDS

• Running a command file


• SQL > START filename.sql
• SQL statement
• SELECT [DISTINCT | ALL] {* | Select_list} FROM {table_name [alias] | view_name}
• Logout of SQL *Plus
• { EXIT | QUIT }
• Start up a database
• STARTUP PFILE = filename [ MOUNT [ dbname ] | NOMOUNT | ... ]
COMMANDS

• GET filename [.ext]


• START filename [.ext]
• EDIT [filename [.ext]]
• EXIT
• APPEND text
• CHANGE / old / new
• CLEAR BUFFER
• DEL
• CLEAR SCREEN
• RUN
SQL *PLUS WORKSHEET

• It provides a SQL Worksheet that you can use to query data, by writing
simple or complex SQL statements.
• The SQL Worksheet allows you to enter, edit, and execute SQL and PL/SQL
code.
USING THE SQL WORKSHEET

• A SQL worksheet window consists of the following elements :


• Input pane
• Output pane
• Split bar
• Input pane toolbar
• Output pane toolbar
• Worksheet pull-down menu
ISQL *PLUS

• iSQL*Plus is a browser-based interface to SQL*Plus. 


• iSQL*Plus is a component of the SQL*Plus product.
• We can use iSQL*Plus to write SQL*Plus, SQL and PL/SQL commands to:
• Enter, edit, run and save SQL commands and PL/SQL blocks.
• Calculate, and print query results.
• List column definitions for any table.
• Access and copy data between databases.
• Perform database administration.

You might also like