Solved

Storage procedures compilation history.

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
null value 15 102
Oracle 10g - insert string with special characters 8 56
oracle RMAN - trying to duplicate a database 5 30
Help on model clause 5 32
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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…
This video shows how to recover a database from a user managed backup

809 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