When a column is deleted, the deletion is permanent.
answer
True
question
An automatic column will generate a value at runtime and may reference values from other columns.
answer
False
question
The INTERVAL datatype can be used to identify a specific interval, or amount, of time.
answer
True
question
*DDL* commands are used to create or modify database objects.
answer
True
question
The DELETE TABLE command can be used to remove a table from a database.
answer
False
question
Every table name within a specific schema must be unique.
answer
True
question
A table name can consist of numbers, letters, and blank spaces.
answer
False
question
The *MODIFY* clause can be included in the ALTER TABLE command to add a default value to an existing column.
answer
True
question
You cannot specify the width for a(n) *NUMBER* column.
answer
False
question
The data contained in a dropped table can be retrieved if the *DROP* option was not used in the DROP TABLE command.
answer
False
question
The ALPHANUMERIC datatype can be used to store characters and numbers to a maximum width of 2000.
answer
False
question
Once a column as been set as *UNUSED*, it cannot be recovered.
answer
True
question
The width of a NUMBER column cannot be *changed* once it contains data.
answer
False
question
The *scale* of a NUMBER column indicates the total number of digits that can be stored in the column.
answer
False
question
The default size of the CHAR column is *2*.
answer
False
question
SELECT9 *is* a valid table name.
answer
True
question
You cannot delete the last column in a table.
answer
True
question
The CREATE TABLE cannot contain a subquery.
answer
False
question
More than one column can be changed at a time with the *ALTER TABLE...MODIFY* command.
answer
True
question
Only one column can be added to an existing table at one time.
answer
False
question
The syntax of the *CREATE TABLE* command requires that the column list be enclosed in parentheses.
answer
True
question
A database must be shut down before the ALTER TABLE command can be executed.
answer
False
question
A column name can consist of up to 225 characters.
answer
False
question
The DELETE TABLE command can be used to delete all the data stored in a table and release the storage space, yet retain the structure of the table.
answer
False
question
Which of the following keywords is used to mark a column for deletion at a later time?
answer
ALTER TABLE...SET UNUSED
question
Which of the following commands will add a new column named FIRST ORDER DATE to the CUSTOMERS table to store the date that the customer first placed an order with the company?
answer
ALTER TABLE customers ADD (firstorderdate DATE);
question
Which keywords are used to complete the deletion of a column previously marked with SET UNUSED?
answer
DROP UNUSED COLUMNS
question
Which of the following is a valid column name?
answer
NEW_COLUMN
question
Which of the following commands can be used to make structural changes to an existing table?
answer
ALTER TABLE
question
Which of the following keywords uses a subquery to create a new table using existing database tables?
answer
CREATE TABLE...AS
question
A _______ column generates values automatically at runtime and may reference values from other columns.
answer
Virtual
question
If a new column is added to the PROMOTION table, where will the new column be listed?
answer
after the MAXRETAIL column
question
Which command instructs Oracle 12c to create a new table?
answer
CREATE TABLE
question
Which of the following is displayed by the DESCRIBE command?
answer
all of the above
question
The maximum width of the NUMBER datatype is ____ digits.
answer
38
question
In which format does Oracle 12c display a date value?
answer
DD-MON-YY
question
Which of the following datatypes refers to fixed-length character data, where n represents the maximum length of the column?
answer
CHAR(n)
question
If a new table is being created based upon a subquery, the subquery must be enclosed in which of the following symbols?
answer
( )
question
Which command is used to rename a table you own?
answer
RENAME...TO
question
If the MAXRETAIL column of the PROMOTION table has been set as unused, which of the following commands is valid?
answer
ALTER TABLE promotion DROP UNUSED COLUMNS;
question
When creating a table, which of the following statements is correct?
answer
The column list must be enclosed in parentheses ( ).
question
Which of the following commands will set the MINRETAIL column of the PROMOTION table as unused?
answer
both a and c
question
When using the ALTER TABLE...DROP COLUMN command, which of the following is not correct?
answer
The command can be used to delete multiple columns from a table.
question
Which of the following commands will change the name of the LAST NAME column to LAST_NAME in the CUSTOMERS table?
answer
none of the above
question
Which of the following symbols cannot be used in a table name?
answer
%
question
A(n) ____ simply identifies the type of data that Oracle 12c will be expected to store in a column.
answer
datatype
question
Which command instructs Oracle 12c to create a new table from existing data?
answer
CREATE TABLE...AS
question
Which of the following queries will allow hidden columns to be displayed?
answer
SELECT which specifically references the hidden column.
question
Which of the following datatypes refers to variable-length character data, where n represents the maximum length of the column?
answer
VARCHAR2(n)
Haven't found what you need?
Search for quizzes and test answers now
Quizzes.studymoose.com uses cookies. By continuing you agree to our cookie policy