Filters
Question type

Study Flashcards

Once a table is ____________________,any associated indexes will be removed from the database.

Correct Answer

verifed

verified

Once a column has been set as UNUSED,which of the following is correct?​


A) ​It is unavailable and will not be displayed in the table structure.
B) ​It will still appear in the results of subqueries until it is dropped.
C) ​It is unavailable,but will still be displayed in the table structure.
D) ​All DDL operations can be performed on it until it is actually dropped.

Correct Answer

verifed

verified

The DROP COLUMN clause of the ALTER TABLE command can be used to drop a maximum of ____________________ column(s)at a time.​

Correct Answer

verifed

verified

The ____________________ clause of the ALTER TABLE command can be used to delete a column from an existing table.

Correct Answer

verifed

verified

What is the difference between truncating a table and dropping a table?​

Correct Answer

verifed

verified

When a table is truncated,the table stru...

View Answer

Which of the following rules apply to table names in Oracle 12c?​


A) ​Names can contain blank spaces.
B) ​Names can be up to 225 characters in length.
C) ​Names can begin with a number.
D) ​Names can contain a number sign (#) .

Correct Answer

verifed

verified

Which of the following keywords is used to remove a database table in Oracle 12c?​


A) ​DROP TABLE
B) ​ALTER TABLE...DROP
C) ​DELETE TABLE
D) ​TRUNCATE TABLE

Correct Answer

verifed

verified

Which of the following keywords cannot be used to modify an existing table?​


A) ​ALTER TABLE...ADD
B) ​ALTER TABLE...DROP COLUMN
C) ​ALTER TABLE...MODIFY
D) ​ALTER TABLE...AS

Correct Answer

verifed

verified

When creating a table,which of the following statements is correct?​


A) ​The schema of the table must be explicitly stated.
B) ​A user can have two tables with the same name,as long as the column names are different.
C) ​The column list must be enclosed in parentheses ( ) .
D) ​Default values cannot be assigned to all columns in a table.

Correct Answer

verifed

verified

​Which of the following is a valid table name in Oracle 12c?


A) ​jimm8 Y%c _5_H76ang
B) ​S_c#oT#2t_321sM#_i_T6h
C) ​2LaN_n23_es#M#m
D) ​mAU$reE78_&_n1

Correct Answer

verifed

verified

SELECT9 is a valid table name._________________________​

Correct Answer

verifed

verified

​The ____________________ command is used to display the structure of a table.

Correct Answer

verifed

verified

The default size of the CHAR column is 2._________________________​

Correct Answer

verifed

verified

The MODIFY clause can be included in the ALTER TABLE command to add a default value to an existing column._________________________

Correct Answer

verifed

verified

The default size of a VARCHAR2 column is one character.​

Correct Answer

verifed

verified

_________________________ commands are used to create database objects.

Correct Answer

verifed

verified

DDL
Data d...

View Answer

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    ​ -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?​ A)  ​CREATE COLUMN firstorderdate,DATE TO customers; B)  ​ALTER TABLE customers ADD COLUMN firstorderdate DATE; C)  ​ALTER TABLE customers ADD firstorderdate DATE; D)  ​ALTER TABLE customers ADD (firstorderdate DATE) ; ​ -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?​


A) ​CREATE COLUMN firstorderdate,DATE TO customers;
B) ​ALTER TABLE customers ADD COLUMN firstorderdate DATE;
C) ​ALTER TABLE customers ADD firstorderdate DATE;
D) ​ALTER TABLE customers ADD (firstorderdate DATE) ;

Correct Answer

verifed

verified

The ____________________ command can be used to modify the structure of a table.

Correct Answer

verifed

verified

The CHAR datatype is used to store variable-length data that can consist of letters and numbers._________________________​

Correct Answer

verifed

verified

​The ALPHANUMERIC datatype can be used to store characters and numbers to a maximum width of 2000.

Correct Answer

verifed

verified

Showing 41 - 60 of 136

Related Exams

Show Answer