"C + + institute" (Oracle Database Programming)--Managing Oracle

Source: Internet
Author: User
Tags sqlplus

first, start and stop Oracle
Stopping and starting Oracle needs to be switched to Oracle users so that no other user has permission to start and stop Oracle (including root and no permissions). 1. Run Sqlplus without logging on to Oracle:
Sqlplus/nolog
2. Connect to the Oracle server with the privileges of the system administrator
Conn/as sysdba;
3. Start Oracle Services
Startup
4. Stop Oracle Services
shutdown immediate;
Oracle 's listener
The equivalent of Oracle's Tcpserver,liestener will be listen on the 1521 port. All Oracle client ports need to be listener to connect to Oracle server.
second, start and stop listener
1. Access to the Listener management interface
Lsnrctl
2. Start Listener
start
3. Stop Listener
stop

under Oracle, if this data type is varchar, it is recommended to use the VARCHAR2

"C + + institute" (Oracle Database Programming)--Managing Oracle

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.