Filters
Question type

Study Flashcards

​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

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    ​ -Which of the following commands will increase the size of the CITY column in the CUSTOMERS table from 12 to 20 and increase size of the LASTNAME column from 10 to 14? A)  ​ALTER TABLE customers MODIFY (city VARCHAR2(+8) ,lastname VARCHAR2(+4) ) ; B)  ​ALTER TABLE customers MODIFY (city VARCHAR2(20) ,lastname VARCHAR2(14) ) ; C)  ​ALTER TABLE customers MODIFY (city (+8) ,lastname (+4) ) ; D)  ​ALTER TABLE customers MODIFY (city (20) ,lastname (14) ) ; ​ -Which of the following commands will increase the size of the CITY column in the CUSTOMERS table from 12 to 20 and increase size of the LASTNAME column from 10 to 14?


A) ​ALTER TABLE customers
MODIFY (city VARCHAR2(+8) ,lastname VARCHAR2(+4) ) ;
B) ​ALTER TABLE customers
MODIFY (city VARCHAR2(20) ,lastname VARCHAR2(14) ) ;
C) ​ALTER TABLE customers
MODIFY (city (+8) ,lastname (+4) ) ;
D) ​ALTER TABLE customers
MODIFY (city (20) ,lastname (14) ) ;

Correct Answer

verifed

verified

The maximum width of a NUMBER column is 25 digits._________________________​

Correct Answer

verifed

verified

If a column is defined as NUMBER(5,2) ,which of the following is true?​


A) ​The column can store a total of 7 digits,with 5 on the left side of the decimal point,and 2 on the right.
B) ​The column can store a total of 7 digits,all of them on the right side of the decimal point.
C) ​The column can store a total of 5 digits,with 3 on the left side of the decimal point,and 2 on the right.
D) ​The column can store a total of 5 digits,all of them on the left side of the decimal point.

Correct Answer

verifed

verified

Data manipulation language commands are used to create or modify database tables._________________________​

Correct Answer

verifed

verified

Once a column as been set as UNUSED,it cannot be recovered._________________________​

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 default format of a DATE column in Oracle 12c is DD-MON-YY.​

Correct Answer

verifed

verified

The DROP TABLE command can be used to remove a table and all its data from a database.​

Correct Answer

verifed

verified

​Which of the following is a valid table name?


A) ​MYTABLE
B) ​DISTINCT
C) ​SELECT
D) ​CHAR

Correct Answer

verifed

verified

​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._________________________

Correct Answer

verifed

verified

The width of a NUMBER column cannot be changed once it contains data._________________________​

Correct Answer

verifed

verified

A DATE column consists of ____________________ bytes.​

Correct Answer

verifed

verified

The CREATE TABLE command is used to create a table in Oracle 12c._________________________​

Correct Answer

verifed

verified

The CREATE TABLE cannot contain a subquery.​

Correct Answer

verifed

verified

​A column's ____________________ identifies the type of data that can be stored in a column.

Correct Answer

verifed

verified

​The default format for a DATE column is ____________________.

Correct Answer

verifed

verified

​Which of the following commands will set the MINRETAIL column of the PROMOTION table as unused?


A) ​ALTER TABLE promotion SET UNUSED (minretail) ;
B) ​ALTER TABLE promotion SET minretail UNUSED;
C) ​ALTER TABLE promotion SET UNUSED COLUMN minretail;
D) ​both a and c

Correct Answer

verifed

verified

A table name can be up to 30 characters in length.​

Correct Answer

verifed

verified

The INTERVAL datatype can be used to identify a specific interval,or amount,of time.

Correct Answer

verifed

verified

Showing 101 - 120 of 136

Related Exams

Show Answer