Oracle SqlPlus statement recording

Source: Internet
Author: User

Oracle SqlPlus statement bit by bit records start Oracle listening: lsnrctl start view Oracle listening status: lsnrctl status start OracleServiceORCL service: net start OracleServiceORCL view the service name of the Oracle database to be connected, sysdba login is required: show parameter service_names; view current user: show user; close database: shutdown; Start Database: startup; sqlplus basic format: sqlplus <username> [/<password>] [@ <connect_identifier>] |/[as sysdba | as sysoper] |/nolog Oracle 10 Gb later, you can use a convenient connection method: username/password @ ip: port/service_name, as follows: sqlplus sys/ch Ange_on_install@128.160.176.29/orcl as sysdba View table structure: describe <tablename> today encountered a strange thing, with sqlplus and Oracle SQL Developer can be connected to ORCL database, is PL/SQL Developer can not connect. Then, add localhost: 1521/ORCL to the Database in the connection window of PL/SQL Developer to connect to the Database!

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.