单选题Which technique retrieves the error number when explicit DML fails?()A SQLCODE in an On-Error trigger. B SQLCODE in an exception handler. C DBMS_ERROR_CODE in an On-Error trigger. D DBMS_ERROR_CODE in an exception handler. 

题目
单选题
Which technique retrieves the error number when explicit DML fails?()
A

SQLCODE in an On-Error trigger. 

B

SQLCODE in an exception handler. 

C

DBMS_ERROR_CODE in an On-Error trigger. 

D

DBMS_ERROR_CODE in an exception handler. 


相似考题
参考答案和解析
正确答案: A
解析: 暂无解析
更多“单选题Which technique retrieves the error number when explicit DML fails?()A SQLCODE in an On-Error trigger. B SQLCODE in an exception handler. C DBMS_ERROR_CODE in an On-Error trigger. D DBMS_ERROR_CODE in an exception handler.”相关问题
  • 第1题:

    Which the statement is true?()

    • A、 The Error class is a Runtime Exception.
    • B、 No exceptions are subclasses of Error.
    • C、 Any statement that may throw an Error must be enclosed in a try block.
    • D、 any statement that may throw an Exception must be enclosed in a try block.
    • E、 Any statement that may throw an Runtime Exception must be enclosed in a try block.

    正确答案:B

  • 第2题:

    11. static class A {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B”); }  16. }  17. public static void main(String[] args) {  18. new B().process();  19. }  What is the result?() 

    • A、 B
    • B、 The code runs with no output.
    • C、 Compilation fails because of an error in line 12.
    • D、 Compilation fails because of an error in line 15.
    • E、 Compilation fails because of an error in line 18.

    正确答案:A

  • 第3题:

    static void test() throws Error {  if (true) throw new AssertionError();  System.out.print(”test “);  }  public static void main(String[] args) {  try { test(); }  catch (Exception ex) { System.out.print(”exception “); }  System.out.print(”elld “);  }  What is the result?() 

    • A、 end
    • B、 Compilation fails.
    • C、 exception end
    • D、 exception test end
    • E、 A Throwable is thrown by main.
    • F、 An Exception is thrown by main.

    正确答案:E

  • 第4题:

    Which statement describes exception traffic?()

    • A、Exception traffic must be sent to the PFE for processing.
    • B、Exception traffic enters one ingress port and is sent out multiple egress ports.
    • C、Exception traffic is rate-limited on the internal link to prevent DoS attacks.
    • D、Exception traffic is processed after forwarding traffic when congestion exists.

    正确答案:C

  • 第5题:

    Given:   11. static class A {   12. void process() throws Exception { throw new Exception(); }   13. }   14. static class B extends A {   15. void process() { System.out.println("B "); }   16. }   17. public static void main(String[] args) {   18. A a = new B();   19. a.process();   20. }   What is the result? ()

    • A、 Compilation fails because of an error in line 19.
    • B、 An exception is thrown at runtime.
    • C、 B
    • D、 Compilation fails because of an error in line 18.
    • E、 Compilation fails because of an error in line 15. 
    • F、 The code runs with no output.

    正确答案:A

  • 第6题:

    单选题
    You need to create a data block for DML operations in the NEW_EMPLOYEE form module. Which data source can you use for this block?()
    A

    REF cursor query. 

    B

    Stored function. 

    C

    From clause query. 

    D

    Transactional trigger.


    正确答案: B
    解析: 暂无解析

  • 第7题:

    单选题
    Given: What is the result?()
    A

    B

    B

    B, followed by an Exception.

    C

    Compilation fails due to an error on line 9.

    D

    Compilation fails due to an error on line 14.

    E

    An Exception is thrown with no other output.


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    You have a master-detail relationship in the EMPLOYEE form module. You set the Delete Record Behavior property to Cascading. When a user deletes a master record, how does Forms implement the cascade-delete foreign-key rule? ()
    A

    With a Pre-Delete trigger. 

    B

    With an On-Delete trigger. 

    C

    With a Post-Delete trigger. 

    D

    With the On-Check-Delete-Master trigger.


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    static void test() throws Error {  if (true) throw new AssertionError();  System.out.print(”test “);  }  public static void main(String[] args) {  try { test(); }  catch (Exception ex) { System.out.print(”exception “); }  System.out.print(”elld “);  }  What is the result?()
    A

     end

    B

     Compilation fails.

    C

     exception end

    D

     exception test end

    E

     A Throwable is thrown by main.

    F

     An Exception is thrown by main.


    正确答案: F
    解析: 暂无解析

  • 第10题:

    单选题
    Given: What is the result?()
    A

    An Exception is thrown with no other output

    B

    followed by an Exception

    C

    Compilation fails due to an error on line 9

    D

    Compilation fails due to an error on line 14


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    Given: What is the result when method testIfA is invoked?()
    A

    True

    B

    Not true

    C

    An exception is thrown at runtime.

    D

    Compilation fails because of an error at line 12.

    E

    Compilation fails because of an error at line 19.


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    Which the statement is true?()
    A

     The Error class is a Runtime Exception.

    B

     No exceptions are subclasses of Error.

    C

     Any statement that may throw an Error must be enclosed in a try block.

    D

     any statement that may throw an Exception must be enclosed in a try block.

    E

     Any statement that may throw an Runtime Exception must be enclosed in a try block.


    正确答案: E
    解析: 暂无解析

  • 第13题:

    You need to create a data block for DML operations in the NEW_EMPLOYEE form module. Which data source can you use for this block?()

    • A、REF cursor query. 
    • B、Stored function. 
    • C、From clause query. 
    • D、Transactional trigger.

    正确答案:D

  • 第14题:

    You are creating an error page that provides a user-friendly screen whenever a server exception occurs.You want to hide the stack trace, but you do want to provide the exception’s error message to the user sothe user can provide it to the customer service agent at your company.  Which EL code snippet inserts thiserror message into the error page?()

    • A、Message: <b>${exception.message}</b>
    • B、Message: <b>${exception.errorMessage}</b>
    • C、Message: <b>${request.exception.message}</b>
    • D、Message: <b>${pageContext.exception.message}</b>
    • E、Message: <b>${request.exception.errorMessage}</b>

    正确答案:D

  • 第15题:

    11. static classA {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B “); }  16. }  17. public static void main(String[] args) {  18.A a=new B();  19. a.process();  20.}  What is the result?() 

    • A、 B
    • B、 The code runs with no output.
    • C、 An exception is thrown at runtime.
    • D、 Compilation fails because of an error in line 15.
    • E、 Compilation fails because of an error in line 18.
    • F、 Compilation fails because of an error in line 19.

    正确答案:F

  • 第16题:

    You have a master-detail relationship in the EMPLOYEE form module. You set the Delete Record Behavior property to Cascading. When a user deletes a master record, how does Forms implement the cascade-delete foreign-key rule? ()

    • A、With a Pre-Delete trigger. 
    • B、With an On-Delete trigger. 
    • C、With a Post-Delete trigger. 
    • D、With the On-Check-Delete-Master trigger.

    正确答案:A

  • 第17题:

    单选题
    11. static classA {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B “); }  16. }  17. public static void main(String[] args) {  18.A a=new B();  19. a.process();  20.}  What is the result?()
    A

     B

    B

     The code runs with no output.

    C

     An exception is thrown at runtime.

    D

     Compilation fails because of an error in line 15.

    E

     Compilation fails because of an error in line 18.

    F

     Compilation fails because of an error in line 19.


    正确答案: B
    解析: 暂无解析

  • 第18题:

    单选题
    Given: What is the result?()
    A

    test

    B

    null

    C

    An exception is thrown at runtime.

    D

    Compilation fails because of an error in line 1.

    E

    Compilation fails because of an error in line 4.

    F

    Compilation fails because of an error in line 5.


    正确答案: B
    解析: 暂无解析

  • 第19题:

    单选题
    You are creating an error page that provides a user-friendly screen whenever a server exception occurs.You want to hide the stack trace, but you do want to provide the exception’s error message to the user sothe user can provide it to the customer service agent at your company.  Which EL code snippet inserts thiserror message into the error page?()
    A

    Message: <b>${exception.message}</b>

    B

    Message: <b>${exception.errorMessage}</b>

    C

    Message: <b>${request.exception.message}</b>

    D

    Message: <b>${pageContext.exception.message}</b>

    E

    Message: <b>${request.exception.errorMessage}</b>


    正确答案: E
    解析: 暂无解析

  • 第20题:

    单选题
    Given:   11. static class A {   12. void process() throws Exception { throw new Exception(); }   13. }   14. static class B extends A {   15. void process() { System.out.println("B "); }   16. }   17. public static void main(String[] args) {   18. A a = new B();   19. a.process();   20. }   What is the result? ()
    A

     Compilation fails because of an error in line 19.

    B

     An exception is thrown at runtime.

    C

     B

    D

     Compilation fails because of an error in line 18.

    E

     Compilation fails because of an error in line 15. 

    F

     The code runs with no output.


    正确答案: E
    解析: 暂无解析

  • 第21题:

    单选题
    Given: What is the result?()
    A

    X, followed by an Exception.

    B

    No output, and an Exception is thrown.

    C

    Compilation fails due to an error on line 14.

    D

    Compilation fails due to an error on line 16.

    E

    Compilation fails due to an error on line 17.


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    11. static class A {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B”); }  16. }  17. public static void main(String[] args) {  18. new B().process();  19. }  What is the result?()
    A

     B

    B

     The code runs with no output.

    C

     Compilation fails because of an error in line 12.

    D

     Compilation fails because of an error in line 15.

    E

     Compilation fails because of an error in line 18.


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    Given: What is the result?()
    A

    The code runs with no output.

    B

    An exception is thrown at runtime.

    C

    Compilation fails because of an error in line 20.

    D

    Compilation fails because of an error in line 21.

    E

    Compilation fails because of an error in line 23.

    F

    Compilation fails because of an error in line 25.


    正确答案: F
    解析: 暂无解析