Sqlplus login Database

Source: Internet
Author: User

1. Directly press sqlplus and press enter to start SQL * Plus. Entering the user and password will allow the user to log on to the default database.

C: \ Documents ents and Settings \ Administrator> sqlplus

SQL * Plus: Release 9.2.0.1.0-production on

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

Enter the User Name:

2. sqlplus user/password @ SERVICE_NAME will be connected to the specified database

C: \ Documents ents and Settings \ Administrator> sqlplus dbusername/password @ SERVICE_NAME
SQL * Plus: Release 9.2.0.1.0-production on

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

Connect:
Oracle9i Enterprise Edition Release 9.2.0.1.0-Production
With the partitioning, OLAP and Oracle Data Mining options
Jserver release 9.2.0.1.0-Production

SQL>

3. If you press sqlplus/nolog, SQL * Plus is enabled, but you do not log on to the Oracle database. Then you need to use the connect command to connect to Oracle

C: \ Documents ents and Settings \ Administrator> sqlplus/nolog

SQL * Plus: Release 9.2.0.1.0-production on

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

SQL> connect dbusername/password @ SERVICE_NAME
Connected.
SQL>

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.