Q

Spooling true error messages only

Can I spool only errors in SQL*Plus when creating procedures and functions and not spool successful messages such as "Procedure created. No errors"?

Can I spool only errors in SQL*Plus when creating procedures and functions and not spool successful messages such as "Procedure created. No errors"?
Sorry, but this cannot be done, at least not natively in SQL*Plus. You can spool the output to a text file and then write a parser (using Perl or other) to parse the output. That is about the best you can do.
This was first published in August 2006

Dig deeper on Oracle and SQL

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close