0

How to fetch error codes of oracle or warning codes? Like when I create a procedure it shows Procedure created with compilation errors.

For seeing the errors I need to write show errors;

Is there any way through which I can get these errors or messages through a sql query?

1
  • 3
    select * from all_errors Commented Jan 13, 2015 at 13:41

2 Answers 2

2

You can use:

select * from all_errors

In this table have all errors:)

Sign up to request clarification or add additional context in comments.

Comments

1

More specific:

select * from SYS.USER_ERRORS where NAME = 'YOUR_PROCEDURE_NAME' and type = 'PROCEDURE'

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.