Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-497 Topic 6 Question 110 Discussion

Actual exam question for Oracle's 1Z0-497 exam
Question #: 110
Topic #: 6
[All 1Z0-497 Questions]

Examine the command:

SQL> CREATE TABLE orders(oid NUMBER (6) PRIMARY KEY, odato DATE, ccode NUMBER (6), oamt NUMBER (10, 2)) TABLESPACE users ;

Which two statements are true about the execution of the command?

Show Suggested Answer Hide Answer
Suggested Answer: D

http://docs.oracle.com/cd/E11882_01/server.112/e25789/process.htm#CNCPT1254

(see database writer process (DBW))

Contribute your Thoughts:

Mary
1 months ago
Wait, so we're not supposed to create a CHECK constraint that ensures the 'OID' column is a valid product code from the 'ACME' catalog? That's a missed opportunity if you ask me.
upvoted 0 times
Izetta
1 days ago
Yes, a NOT NULL constraint is created on the OID column.
upvoted 0 times
...
Norah
3 days ago
That's correct, the ORDERS table is the only object created in the USERS tablespace.
upvoted 0 times
...
Lisha
14 days ago
No, a CHECK constraint is not created on the OID column.
upvoted 0 times
...
Phil
16 days ago
Yes, a unique index is created on the OID column in the USERS tablespace.
upvoted 0 times
...
Shasta
19 days ago
No, a CHECK constraint is not created on the OID column.
upvoted 0 times
...
...
Pearline
1 months ago
B and D are the right answers. Although, I have to admit, the thought of my orders being stored in the 'USERS' tablespace is a bit concerning. I'm not sure I want my shopping habits accessible to everyone!
upvoted 0 times
...
Helene
2 months ago
I'm going with B and D as well. The question is so simple, even my grandma could answer it. She'd probably make a joke about the 'ORDERS' table being for her weekly grocery list though.
upvoted 0 times
Casie
13 days ago
Haha, your grandma sounds funny! But yeah, B and D are the correct options for this question.
upvoted 0 times
...
Barrie
15 days ago
Haha, your grandma sounds funny! But yeah, B and D are the correct options.
upvoted 0 times
...
Janine
23 days ago
I agree, and D is also true because a unique index is created on the primary key column.
upvoted 0 times
...
Micah
25 days ago
I think B is correct because a PRIMARY KEY column cannot be NULL.
upvoted 0 times
...
Otis
1 months ago
I agree, and I also think D is correct because the ORDERS table and a unique index are created in the USERS tablespace.
upvoted 0 times
...
Nicolette
1 months ago
I think B is correct because a NOT NULL constraint is created on the OID column.
upvoted 0 times
...
...
Corazon
2 months ago
I agree with Rodrigo. This is a straightforward SQL CREATE TABLE statement, and the options are pretty clear about the constraints and tablespace usage.
upvoted 0 times
...
Rodrigo
2 months ago
The correct answers are B and D. The OID column has a PRIMARY KEY constraint, which implies a NOT NULL constraint. And the table and a unique index are both created in the USERS tablespace.
upvoted 0 times
Phyliss
9 days ago
That makes sense. Thanks for clarifying.
upvoted 0 times
...
Carlota
18 days ago
Also, the table and a unique index are both created in the USERS tablespace.
upvoted 0 times
...
Stefanie
25 days ago
Yes, you're right. The OID column has a PRIMARY KEY constraint, so it must be NOT NULL.
upvoted 0 times
...
Lashawna
1 months ago
I think the correct answers are B and D.
upvoted 0 times
...
...
Benton
2 months ago
Hmm, that makes sense too. I guess we need to carefully consider all the options before selecting the correct answer.
upvoted 0 times
...
Lai
2 months ago
I disagree, I believe option E is correct because the table is created in the USERS tablespace and a unique index is created in the SYSTEM tablespace.
upvoted 0 times
...
Benton
2 months ago
I think option D is correct because a unique index is created in the USERS tablespace.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77