PL/SQL How do I debug a statement, stored procedure

Source: Internet
Author: User

All along, I always in SQL tools, such as SQL Server, Navicat and so on to execute SQL statements to find the problem of their own written SQL problem, the result is asked, let people laughable!

So how do you debug a white-line stored procedure? How do I debug a hundred-line SQL statement?

PL SQL Developer

Since it is a debug stored procedure, the stored procedure is definitely longer, or the parameters are more, here is a very simple example:

(1) Create a new stored procedure: New in the stored procedure--fill in the name and parameters of the stored procedure and click OK.

Then enter the following code in the pop-up form: Then click on the gear (shortcut key F8) to set up this stored procedure, refresh, you can see.

Create or Replace procedure inch  Number inch  Number  Number  Number  is begin    m:=a+b;   N:=a-b;    End Lifentest;


(2) In the stored procedure we just created, right-click-Select test, you can see the following:

PL/SQL How do I debug a statement, stored procedure

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.