Content deleted Content added
m Date maintenance tags and general fixes |
expand; copyedit |
||
Line 1:
In [[computing]], '''SQL*Plus'''
</ref> SQL*Plus is a simple tool with a basic command
==Command types ==
SQL*Plus understands
# SQL statements
# PL/SQL blocks
# SQL*Plus internal commands, for example:
## environment control commands such as SET
## environment monitoring command such as SHOW
Scripts can include all of these components.
An Oracle programmer in the appropriately-configured software environment can launch SQL*Plus, for example, by entering:
<code>sqlplus scott/tiger</code>
where the Oracle user <code>scott</code> has the password <code>tiger</code>. SQL*Plus then presents a prompt with the default form of:
<pre>SQL></pre>
Interactive use can then start by entering a SQL statement (terminated by a semicolon), a PL/SQL block, or another command. For example:
<pre>SQL> select 'Hello world' as example from dual;
EXAMPLE
Line 18 ⟶ 33:
== History ==
Oracle Corporation dubbed SQL*Plus's predecessor
After new features were added to UFI, it was renamed internally to ''Advanced UFI''. The name "Advanced UFI" was changed to SQL*Plus before this version was released.
Line 26 ⟶ 41:
==Usage==
Interactive use has mostly been replaced by graphical interfaces from Oracle or third parties. Oracle shops typically continue to use SQL*Plus scripts for batch updating or simple reports.{{Fact|date=November 2008}}
Oracle Corporation's wrappers/guifications/replacements for SQL*Plus include:
* Oracle SQL*Plus Worksheet, a component of [[Oracle Enterprise Manager | OEM]]<ref>{{cite web
| url = http://docs.cs.cf.ac.uk/html/601/node4.html
| title = The SQL*Plus Worksheet
| accessdate = 2008-11-21
| author =
| last = Evans
| first = Robert
| authorlink =
| coauthors =
| date = 2008-10-01
| year =
| month =
| work =
| publisher = Cardiff University
| ___location =
| pages =
| doi =
| archiveurl =
| archivedate =
| quote = Oracle's SQL*Plus Worksheet is a straight-forward, easy-to-use, graphical user interface for SQL.
}}
</ref>
* iSQL*Plus or iSQLPlus, a web-based utility<ref>{{cite web
| url = http://www.orafaq.com/wiki/ISQLPlus
| title = ISQLPlus
| accessdate = 2008-11-21
| author =
| last =
| first =
| authorlink =
| coauthors =
| date = 2008-02-29
| year =
| month =
| work =
| publisher = Oracle FAQ
| ___location =
| pages =
| language =
| doi =
| archiveurl =
| archivedate =
| quote = iSQLPlus (iSQL*Plus) is a web-based utility similar to the SQL*Plus command line utility for executing SQL and PL/SQL commands.
}}
</ref>
* SQL Worksheet,<ref>{{cite web
| url = http://www.oracle.com/technology/products/database/sql_developer/files/featurelist_1_5.htm#nf_sql
| title = Oracle SQL Developer 1.5: Feature List
| accessdate = 2008-11-21
| author =
| last =
| first =
| authorlink =
| coauthors =
| date =
| year =
| month =
| work =
| publisher = Oracle Corporation
| ___location =
| pages =
| language =
| doi =
| archiveurl =
| archivedate =
| quote = The SQL*Plus commands supported by Oracle SQL Developer SQL Worksheet are listed [...]
}}
</ref> a component of [[Oracle SQL Developer]]
* SQL Workshop (part of [[Oracle Application Express]])<ref>{{cite web
| url = http://www.oracle.com/technology/products/database/application_express/html/what_is_apex.html
| title = Oracle Application Express
| accessdate = 2008-11-21
| author =
| last =
| first =
| authorlink =
| coauthors =
| date =
| year =
| month =
| format =
| work =
| publisher = Oracle Corporation
| ___location =
| pages =
| language =
| doi =
| archiveurl =
| archivedate =
| quote = SQL Workshop provides tools to enable you to view and manage database objects from a Web browser. Use SQL Commands to run SQL and PL/SQL statements. ...
}}
</ref>
==
Other vendors have made their software somewhat compatible with SQL*Plus script commands or offer a SQL*Plus mode of operation. Products include [[TOAD (software) | TOAD]] from [[Quest Software]].{{Fact|date=November 2008}}
==References ==
{{Reflist}}
== External links==
* [http://www.oracle.com/technology/docs/tech/sql_plus/index.html SQL*Plus]
* [http://www.orafaq.com/faq/sqlplus SQL*Plus FAQ]
|