SQL * Plus reference

Source: Internet
Author: User

SQL * Plus: Release 10.2.0.3.0-production on Thursday June 3 13:59:35 2010

Copyright (c) 1982,200 6, Oracle. All rights reserved.

SQL * Plus: Release 10.2.0.3.0-Production

Copyright (c) 1982,200 6, Oracle. All rights reserved.

Usage 1: sqlplus-H |-V

-H: displays the SQL * Plus version and
Usage help.
-V displays the SQL * Plus version.

Usage 2: sqlplus [[<option>] [<logon>] [<Start>]

<Option>: [-C <version>] [-L] [-M "<Options>"] [-r <level>] [-S]

-C <version> sets the compatibility of affected commands
<Version> the specified version. This version has
"X. y [. Z]" format. For example,-C 10.2.0
-L only try to log on once, instead
Prompt again when an error occurs.
-M "<Options>" sets the output automatic HTML Tag. Option
Format:
HTML [ON | off] [head text] [body text] [Table text]
[Entmap {on | off}] [spool {on | off}] [pre [format] {on | off}]
-R <level> sets the restricted mode to disable
SQL * Plus command. Level
Is 1, 2, or 3. The maximum limit is-R 3.
Disable file system interaction
All USER commands.
-S sets the no-Prompt mode, which is hidden
Command SQL * Plus mark, prompt and echo
.

<Logon>: (<username> [/<password>] [@ <connect_identifier>] | /)
[As sysdba | as sysoper] |/nolog

Specify the database account username, password, and database connection
. If no connection exists
Identifier. SQL * Plus is connected to the default database.

The options as sysdba and as sysoper are database management.
Permission.

/Nolog options enable SQL * Plus instead of connecting
Database.

<Start> is: @ <URL >|< FILENAME> [. <ext>] [<parameter>...]

Use the specified parameter that will be assigned to the substitution variable in the script
From the Web server (URL) or local file system (filename. ext)
Run the specified SQL * Plus script.

After SQL * Plus is started and the connect command is executed
File (for example, $ ORACLE_HOME/sqlplus/admin/glogin. SQL) and user profile
(For example, login. SQL in the working directory ). These files
It can contain the SQL * Plus command.

For more information, see the SQL * Plus User Guide and reference.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.