Console access to Oracle commands

Source: Internet
Author: User
Tags sql error

Console access to Oracle:
Windows platform Keyboard window+r input cmd Enter sqlplus enter prompt you enter username and password and then enter

Desc: View Table structure
Desc + table Name

set Line[size]{80|n}:size value defaults to 80 if the screen is large enough to set any value
Set Line 100

l and N text: L display the previous SQL N text to modify the previous SQL error (table person has name,age,sex,height these columns)
For example, the previous SQL is:
Select Name,age,sex
from xxx
where age>20
The order by height can see that the From XXX is incorrectly written
You can modify this SQL by entering L to view this SQL and then entering 2 from the person
  
  

Run
Combination L and N text use modified after input/can run modified statements

Console access to Oracle commands

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.