Sqlplus command usage

Source: Internet
Author: User

The basic format of the sqlplus command is sqlplus <username> [/<password>] [@ <connect_identifier>]/[as sysdba | as sysoper]/nolog, where: username: username password: password connect_identifier: Connection ID string. If you connect to the current instance, you do not need to specify this parameter. If you connect to other databases, You need to specify the parameter, that is, specify the NET service name as sysdba | as sysoper as the logon identity. For operating system authentication, specify as sysdba or as sysoper to log on, or even do not enter the user name and password nolog, if you directly use the nolog parameter, you cannot specify the preceding parameter. Note: nolog does not mean that logs are not recorded, but no login means to enter the sqlplus environment without authentication and logon, then, create an instance using the connect command in sqlplus. Connection. For example, to connect to the current instance, log on as an operating system authentication: [oracle @ localhost ~] $ Sqlplus/as sysdbaSQL * Plus: Release 10.2.0.1.0-Production on Wednesday April 10 04:47:48 2013 Copyright (c) 1982,200 5, Oracle. all rights reserved. connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProductionWith the Partitioning, OLAP and Data Mining optionsSQL>

Related Article

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.