Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

The MODIFY TABLE command can be used to change the size of a table.

Correct Answer

verifed

verified

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

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

The column list of the CREATE TABLE command must be enclosed in ____________________.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Which of the following commands will drop any columns marked as unused from the TABLEA table?


A) DROP COLUMN FROM tablea WHERE column_status = UNUSED;
B) ALTER TABLE tablea DROP UNUSED COLUMNS;
C) ALTER TABLE tablea DROP (unused) ;
D) DROP UNUSED COLUMNS:

Correct Answer

verifed

verified

The ALTER TABLE name can be used to rename a table.

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

Correct Answer

verifed

verified

The default format for a DATE column is ____________________.

Correct Answer

verifed

verified

Which of the following symbols can be used in a column name?


A) %
B) *
C) #
D) '

Correct Answer

verifed

verified

The ____________________ TABLE command can be used to delete and release the storage space of all data contained in a database table, while still retaining the table's structure.

Correct Answer

verifed

verified

When modifying data in existing columns, which of the following is correct?


A) A column must be as wide as the data it already contains.
B) If a NUMBER column already contains data, its precision and scale can be decreased.
C) Changing the default value of a column will change the values of data already in a table.
D) If a NUMBER column is empty, its precision and scale cannot be changed.

Correct Answer

verifed

verified

Which command instructs Oracle11g to create a new table?


A) CREATE NEW TABLE
B) CREATE TABLE...FROM
C) CREATE TABLE
D) ALTER TABLE

Correct Answer

verifed

verified

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    -Which of the following commands will add a new column named FIRSTORDERDATE 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 FIRSTORDERDATE 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

Only one column can be added to an existing table at one time.

Correct Answer

verifed

verified

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


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

Correct Answer

verifed

verified

Which of the following is a valid table name in Oracle11g?


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‾\underline { is } a valid table name. _________________________

Correct Answer

verifed

verified

A table name must begin with a(n)  number. ‾\underline { \text { number. } } _________________________

Correct Answer

verifed

verified

Showing 81 - 100 of 132

Related Exams

Show Answer