Oracle Set Feedback

Source: Internet
Author: User

First, set feedback on

By default, Oracle gives a feedback when a SQL is issued.
For example, execute the following CREATE TABLE statement:

CREATE TABLE t_test_lll (ID varchar2 (10));


The Command Guild returns: Table created.
For example, when performing a PL/SQL storage success, the command line returns:
PL/SQL procedure successfully completed.

Second, set feedback off


When you run a lot of statements in a script, it's too messy to feed each piece of information back.
You can then execute this command and set feedback to off to turn off the feedback information.

Third, set feedback n

When an SQL statement returns n or more than n rows of records, there is feedback.
For example: Set Feedback 10,
Then execute the following statement:

SELECT * from T_testlll;


There are 97 statements in the T_testlll table, then, after returning the results of the query, there will be: Selected rows feedback.
If the return row is less than 5, there is no feedback.

Oracle Set Feedback

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.