Oracle Usage Summary (iii) common commands ____oracle

Source: Internet
Author: User
Tags sqlplus
The command is at the beginning--the command that can be entered in the--cmd--dos run.
(1) command to open and close Oracle related services:
Open service
net start oracleoradb10g_home1tnslistener--This is listening, this service name may not be the same
net start oracleservice***--This * * * is the global database name
net start Oraclecsservice
net start oracledbconsole***--*** ditto
net start oracleoradb10g_home1isql*plus--, unable to use SQL statements in command
Turn off services
net stop Oraclecsservice
net stop Oracledbconsolezhengwei
net stop Oracleoradb10g_home1tnslistener
net stop Oracleservicezhengwei
net stop Oracleoradb10g_home1isql*plus
(2) About listening
Lsnrctl>
lsnrctl>status--View monitor Status
lsnrctl>stop--Shutdown Monitor
lsnrctl>start--Open the Monitor.
There are other, you can lsnrctl>help view related items
(3) About login
Sqlplus Username/password
or Sqlplus/nolog.
Sql>conn username/password[@service] as Sysdba
Sql&gt ..... You can enter the correct SQL statement here
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.