nerdexam
Oracle

1Z0-497 · Question #61

Examine the command: SQL> CREATE TABLE orders(oid NUMBER (6) PRIMARY KEY, odato DATE, ccodeNUMBER (6), oamt NUMBER (10, 2)) TABLESPACEusers ; Which two statements are true about the execution of the…

The correct answer is B. A NOT NULL constraint is created on the OIDcolumn. D. The ORDERS table and a unique index are created in the USERS tablespace. See the full explanation below for the reasoning.

Question

Examine the command:

SQL> CREATE TABLE orders(oid NUMBER (6) PRIMARY KEY, odato DATE, ccodeNUMBER (6), oamt NUMBER (10, 2)) TABLESPACEusers ; Which two statements are true about the execution of the command?

Options

  • AA CHECK constraint is created on the OIDcolumn.
  • BA NOT NULL constraint is created on the OIDcolumn.
  • CThe ORDERS table is the only object created in the USERS tablespace.
  • DThe ORDERS table and a unique index are created in the USERS tablespace.
  • EThe ORDERS table is created in the USERS tablespace and a unique index is created on the

How the community answered

(36 responses)
  • A
    11% (4)
  • B
    78% (28)
  • C
    8% (3)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-497 Practice