Solved

Storage procedures compilation history.

Posted on 2013-11-21
3
670 Views
Last Modified: 2013-11-30
Is there a way to check compilation history in toad or oracle pl/sql when compiling stored procedures.
0
Comment
Question by:IlyaLibov
3 Comments
 
LVL 23

Expert Comment

by:David
ID: 39667170
As in "results of x at timestamp were successful"? No there is not.  I might consider an OS trap to write to a flat file when the compile step finished.   What are you trying to accomplish?
0
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 39668640
you can link Toad to a VCS (Version control System) like SubVersion, Team Foundation, ...
This allows you to check out a procedure, modify it and check it back in.

The VCS system will then contain all the history.

Open the help in Toad and look for Team coding
You'll find lots of entries of the different possibilities.

if you have the connection open in toad, you could hit F8 in the editor: SQL Recall
All the last entries you did should be there
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 39673903
we can see the compilation errors by using the dba_errors or user_errors dict views but history will not be there as already mentioned.

select * from dba_errors
where owner = 'CRMCA'
and name = 'PKGLW_ENTITLEMENTS_OLD'
order by sequence

You can probably have a job or script which can run before compiling any procedure to extract the errors output from this view and insert into some log/history table for your reference.

Thanks,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle SQL Select within a Where Clause 9 56
PAYER_ID has both atributes 4 31
selective queries 7 21
Oracle 10g standard edition server with 4 processors 3 33
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now