Sqlplus application instance

Source: Internet
Author: User

Sqlplus Application Example 1. export the queried data in sqlplus> set pagesize 0 set newpage none set trimout on set trimspool on spool/tmp/outfile. log select * from table; spool off 2. sqlplus cannot use Up on the keypad, Down to list used historical commands (like mysql), nor can it use left or right to move the cursor to change the command line, solve the following problem in ubuntu: sudo apt-cache search 'rlwre'; if you can find this lib in the preceding command, install sudo apt-get install 'rlwre' directly '; if it cannot be found in the preceding command, install the following: download and install readline, download and install rlwrap-c sqlplus (you will find any arrows on the keypad) if you use other commands (such as mysql) to find "/usr/local/lib/libreadline. so.6: undefined symbol "is similar to an error, the solution is as follows: cd/usr/local/lib sumkdir tempmv/usr/local/lib/libreadline * templdconfigapt-get update rm-rf/usr/local/lib/temp

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.