0

I have a number of huge .SQL files that inserts data into tables. I'm using Sqlplus to execute these scripts. While the command window is crunching all these thousands of INSERT INTO {table} statements, I occasionally see an error showing up in the command window for a split second before Sqlplus goes on to the next INSERT INTO {table} statement.

Is there a way to show any error that comes up after executing a SQL script in Sqlplus?

2
  • 1
    have you tried spooling the output? Commented Jul 29, 2015 at 15:29
  • Took a look at spool-ing, put it in my SQL script and it worked like a charm. Thanks. Commented Jul 29, 2015 at 16:56

1 Answer 1

1

Apart from spooling you could use error logging feature with DML. This link gives you details enter link description here

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

1 Comment

SPOOL was exactly what I needed. Thanks.

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.