Filters
Question type

Study Flashcards

The scale of a NUMBER column indicates the number of digits that can be displayed to the right of the decimal point.​

A) True
B) False

Correct Answer

verifed

verified

The RENAME command can be used to assign a table to a new schema.​

A) True
B) False

Correct Answer

verifed

verified

A(n) ____ simply identifies the type of data that Oracle 12c will be expected to store in a column.​


A) ​data definition
B) ​data format
C) ​datatype
D) ​data record

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

The syntax of the CREATE TABLE command requires that the column list be enclosed in parentheses._________________________​

A) True
B) False

Correct Answer

verifed

verified

​Which of the following terms refers to commands that are used to create or modify database tables?


A) ​data manipulation language (DML)
B) ​data control language (DCL)
C) ​data definition language (DDL)
D) ​data formatting language (DFL)

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

Structure of the PROMOTION table​ Structure of the PROMOTION table​    -​Which of the following commands will change the name of the PROMOTION table to GIFT? A)  ALTER TABLE promotion NAME TO gift​ B)  ​ALTER TABLE promotion TO gift; C)  ​RENAME TABLE promotion TO gift; D)  ​RENAME promotion TO gift; -​Which of the following commands will change the name of the PROMOTION table to GIFT?


A) ALTER TABLE promotion NAME TO gift​
B) ​ALTER TABLE promotion TO gift;
C) ​RENAME TABLE promotion TO gift;
D) ​RENAME promotion TO gift;

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

D

​Each ____________________ name within a table must be unique.

Correct Answer

verifed

verified

​Which of the following keywords can be used to change the size,datatype,and/or default value of an existing column?


A) ​ADD
B) ​MODIFY
C) ​CHANGE
D) ​RESET

E) All of the above
F) A) and D)

Correct Answer

verifed

verified

When defining columns for a table in the CREATE TABLE command,the column list must be enclosed in which of the following symbols?​


A) ​" "
B) ​' '
C) ​( )
D) ​| |

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

Which of the following rules does not apply to column names in Oracle 12c?​


A) ​Column names can contain numbers.
B) ​Column names can be up to 30 characters in length.
C) ​Column names must begin with a letter.
D) ​Column names can contain an ampersand (&) .

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

When using the ALTER TABLE...DROP COLUMN command,which of the following is not correct?​


A) ​The command's effect on the table is permanent.
B) ​You cannot delete the last remaining column in a table.
C) ​The command deletes both the column and its contents.
D) ​The command can be used to delete multiple columns from a table.

E) B) and C)
F) B) and D)

Correct Answer

verifed

verified

A database must be shut down before the ALTER TABLE command can be executed.​

A) True
B) False

Correct Answer

verifed

verified

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    ​ -​Which of the following commands will display the structure of the CUSTOMERS table? A)  ​DESC customers B)  ​DESCRIBE customers C)  ​DSC customers; D)  ​both a and b ​ -​Which of the following commands will display the structure of the CUSTOMERS table?


A) ​DESC customers
B) ​DESCRIBE customers
C) ​DSC customers;
D) ​both a and b

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

If a new table is being created based upon a subquery,the subquery must be enclosed in which of the following symbols?​


A) " "
B) | |​
C) ​' '
D) ​( )

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

​Which command is used to rename a table you own?


A) ​ALTER TABLE...RENAME
B) ​ALTER TABLE...SET NAME
C) ​RENAME...AS
D) ​RENAME...TO

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

D

The TRUNCATE TABLE command can be used to delete a table from a database._________________________​

A) True
B) False

Correct Answer

verifed

verified

​What is the maximum width that can be assigned to a DATE column?


A) ​1
B) ​8
C) ​12
D) ​none of the above

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

The maximum width of the NUMBER datatype is ____ digits.


A) ​7
B) ​30
C) ​38
D) ​255

E) None of the above
F) All of the above

Correct Answer

verifed

verified

C

A database ____________________ is a defined,self-contained structure in Oracle 12c.

Correct Answer

verifed

verified

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    ​ -Which of the following commands will change the name of the LAST NAME column to LAST_NAME in the CUSTOMERS table?​ A)  ALTER TABLE customers MODIFY lastname to last_name;​ B)  ​ALTER TABLE customers CHANGE lastname to last_name; C)  ​ALTER TABLE customers MODIFY (lastname,last_name) ; D)  ​none of the above ​ -Which of the following commands will change the name of the LAST NAME column to LAST_NAME in the CUSTOMERS table?​


A) ALTER TABLE customers MODIFY lastname to last_name;​
B) ​ALTER TABLE customers CHANGE lastname to last_name;
C) ​ALTER TABLE customers MODIFY (lastname,last_name) ;
D) ​none of the above

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

Showing 1 - 20 of 136

Related Exams

Show Answer