Filters
Question type

Study Flashcards

After a value is generated, it is stored in the ____________________ pseudocolumn so it can be referenced again by a user.

Correct Answer

verifed

verified

Which of the following is used to establish a minimum or maximum value, respectively, for a sequence?


A) MINIMUMVALUE | MAXIMUMVALUE
B) MINVALUE | MAXVALUE
C) STARTWITH | ENDWITH
D) BEGINVALUE | ENDVALUE

Correct Answer

verifed

verified

An index is implicitly created when a NOT NULL constraint is added to a table.

Correct Answer

verifed

verified

How can an organization use a sequence for internal control purposes?

Correct Answer

verifed

verified

One aim of internal control is to ensure...

View Answer

The NEXTVAL pseudocolumn can be referenced in an INSERT command to add the value to a database table.

Correct Answer

verifed

verified

Which of the following statements about NEXTVAL and CURRVAL is incorrect?


A) The pseudocolumn NEXTVAL is used to actually generate the sequence value.
B) After the value is generated, it is stored in the CURRVAL pseudocolumn so it can be referenced again by a user.
C) A reference to CURRVAL will not cause Oracle10g to generate a new sequence number; a reference to NEXTVAL, however, will generate a new number.
D) NEXTVAL and CURRVAL are pseudocolumns that store unique names for database objects.

Correct Answer

verifed

verified

Which of the following can be created so other users will not need to prefix a table owned by user Jeff with his schema name?


A) sequence
B) index
C) synonym
D) schema alias

Correct Answer

verifed

verified

Which of the following statements about sequences is incorrect?


A) A sequence can be used to generate unique names for database objects.
B) A sequence can be used to generate unique values to serve as a primary key.
C) A sequence can be used to generate sequential values for internal control purposes.
D) A sequence can be used to generate sequential numbers to track records like checks, invoices, and purchase orders.

Correct Answer

verifed

verified

A basic CREATE INDEX command will create a B-Tree index.

Correct Answer

verifed

verified

If the last values generated by a sequence were 277 and 278, which of the following changes cannot be initiated by the ALTER SEQUENCE command?


A) NOMAXVALUE
B) CYCLE
C) INCREMENT BY 5
D) MAXVALUE 200

Correct Answer

verifed

verified

The ____ clause is used to specify the interval between two sequential values.


A) INTERVAL SIZE
B) INCREMENT BY
C) STEP BY
D) START WITH

Correct Answer

verifed

verified

The highest possible value for a descending sequence is -1.

Correct Answer

verifed

verified

A function-based index can be used for queries that include searches based upon arithmetic expressions or functions.

Correct Answer

verifed

verified

Structure of the CUSTOMERS table Structure of the CUSTOMERS table    -Based on the structure of the CUSTOMERS table, which of the following is a valid SQL statement? A)  CREATE PUBLIC INDEX customers_name_idx ON customers (lastname, firstname) ; B)  CREATE PUBLIC INDEX customers_name_idx ON customers (lastname) ; C)  CREATE INDEX customers_name_idx ON customers (lastname, firstname) ; D)  CREATE PUBLIC INDEX customers_name_idx FOR customers (lastname) ; -Based on the structure of the CUSTOMERS table, which of the following is a valid SQL statement?


A) CREATE PUBLIC INDEX customers_name_idx
ON customers (lastname, firstname) ;
B) CREATE PUBLIC INDEX customers_name_idx
ON customers (lastname) ;
C) CREATE INDEX customers_name_idx
ON customers (lastname, firstname) ;
D) CREATE PUBLIC INDEX customers_name_idx
FOR customers (lastname) ;

Correct Answer

verifed

verified

The ____________________ pseudocolumn is used to generate the next sequence value.

Correct Answer

verifed

verified

To change the starting value for a sequence, the sequence must be dropped and then re-created.

Correct Answer

verifed

verified

A synonym is an alternate name assigned to database  instances ‾\underline { \text { instances } } . _________________________

Correct Answer

verifed

verified

Indexes can speed up row retrieval, but can slow down ____________________ operations because the index must also be updated.

Correct Answer

verifed

verified

Oracle10g will begin each sequence with the value of one, unless another value is specified in the ____ clause.


A) START WITH
B) INTERVAL SIZE
C) INCREMENT BY
D) VALUE START

Correct Answer

verifed

verified

The ____ options are used to determine whether Oracle10g should begin reissuing values from the sequence once the minimum or maximum value has been reached.


A) CYCLE | NOCYCLE
B) MINIMUMVALUE | MAXIMUMVALUE
C) CACHE | NOCACHE
D) REORDER | NOREORDER

Correct Answer

verifed

verified

Showing 61 - 80 of 132

Related Exams

Show Answer