View in Oracle query database

Source: Internet
Author: User

Select * From dba_views;
Select * From user_views;

Desc dba_source; DESC user_source;
Select text from user_source
Where name = 'your PKG name'
Order by line;
Union can remove duplicate records, but union all cannot.
In Oracle, how does one call a stored procedure? It is best to have specificCodeExample!
You can call the process name directly.
For example, p_test1 calls p_test2 (asret2 out varchar2)
Create or replace procedure p_test1 (
Astest in varchar2,
Asret out varchar2)
As
Asprocret varchar2 (100 );
...
Begin
P_test2 (asprocret );
End p_test1;


Write a PLSQL block and execute it in sqlplus.
Begin
Declare
Asparam varchar2 (10 );
Begin
P_test1 (asparam );
End;
End;

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.