Quiz DP 13
Quiz DP 13
Quiz DP 13
Correct
DATE
DATETIME
TIMESTAMP (*)
Correct
3. A column that will be used to store binary data up to 4 Gigabytes in size should be
defined as which datatype? Mark for Review
(1) Points
NUMBER
LONGRAW
BLOB (*)
LONG
Correct
4. Which of the following are valid Oracle datatypes?
Mark for Review
(1) Points
Correct
5. To store large amounts of text you should simply create a series of VARCHAR2 columns
in a table. True or False? Mark for Review
(1) Points
True
False (*)
Correct
Section 13 Quiz
6. I have a table named School_Friends in my schema. You want to build a table in your
schema named School_Friends. This is ______________, because Mark for Review
____________________________________. (1) Points
possible; my schema is separate from yours, and it is okay for us to have like-
named tables in our separate schemas. (*)
impossible; School_Friends is a reserved term in SQL.
impossible; no matter what, there can never be two tables with the same name,
even if they are in separate schemas.
possible; our data will merge into one table, and we can more easily access our
mutual friends information.
Correct
If any character other than letters or numbers is used in a table or column name,
the name must be enclosed in double quotation marks.
Table and column names must begin with a letter. (*)
8. When creating a new table, which of the following naming rules apply. (Choose three)
Mark for Review
(1) Points
Can have the same name as another object owned by the same user
Must contain ONLY A - Z, a - z, 0 - 9, _ (underscore), $, and # (*)
Correct
9. Which of the following SQL statements will create a table called Birthdays with three
columns for storing employee number, name and date of birth? Mark for Review
(1) Points
Correct
4 (*)
2
1
3
Correct
Section 13 Quiz
Frees the disk space used by the data in the FAX column
Prevents data in the FAX column from being displayed, by performing a logical
drop of the column (*)
Prevents a new FAX column from being added to the EMPLOYEES table
Deletes the FAX column
Correct
12. After issuing a SET UNUSED command on a column, another column with the same
name can be added using an ALTER TABLE statement. True or False? Mark for Review
(1) Points
True (*)
False
Correct
You need to reduce the precision of the AMOUNT_PLEDGED column to 5 with a scale
of 2 and ensure that when inserting a row into the DONATIONS table without a value
for the AMOUNT_PLEDGED column, a price of $10.00 will automatically be inserted.
The DONATIONS table currently contains NO records. Which statement is true?
You must use the ADD OR REPLACE option to achieve these results.
Both changes can be accomplished with one ALTER TABLE statement. (*)
Correct
Which statement should you use to decrease the width of the FIRST_NAME column to
10 if the column currently contains 1500 records, but none are longer than 10 bytes
or characters?
Correct
Correct