Solved

Storage procedures compilation history.

Posted on 2013-11-21
3
656 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 36

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

758 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

17 Experts available now in Live!

Get 1:1 Help Now