Basic SQL * Plus reports and commands

Source: Internet
Author: User

Basic SQL * Plus reports and commands 1. remark indicates the behavior comment 2. ttitle: Set the top title of the report www.2cto.com 3. btitle: Set the title at the bottom of the Report. 4. spool imports the on-screen reports to a file. save the SQL statement used to save the buffer to a file: save sqlfile. sqlsave sqlfile. replace SQL rep with save sqlfile. SQL app append list query sqldel of the Current buffer Zone Delete the sqlclear buffer of the buffer zone sqlinput ...... Change ...... Add to SQL Buffer change/pagc/page modify pagc in the buffer to page (usually used in case of incorrect command line SQL input) 6. store to save the current environment settings 7. host sends command 8 to the system during SQL command line. start or @ execute the SQL file that has been saved in the system 9. define_editor sets the default editor in the SQL command line, for example, define_editor = "vi"; then, use edit sqlfile. SQL is like using vi on linux 10. pause settings pause such as set pause 'more... 'The usage is similar to using the more command on linux.

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.