Machine-translated by Google. Questions are authored in English.
Top

Discussion

In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

  • A.The line numbers reported match the line numbers you see in your text editor.
  • B.SQL*Plus will automatically show the errors to you.
  • C.To see the errors, enter SHOW ERRORS in SQL*Plus.
  • D.If there are no syntax errors, you will receive the message "NO ERRORS."

Answer: C

Correct answer: To see the errors, enter SHOW ERRORS in SQL*Plus.

SQL*Plus reports only that the procedure was created with compilation errors; the errors themselves must be asked for with SHOW ERRORS. The line numbers it then gives are counted from the start of the CREATE statement, which will not match a text editor’s numbering unless the statement begins on line one of the file.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.