Filters
Question type

Study Flashcards

Which of the following commands can be used to remove a sequence from a database?


A) DELETE SEQ
B) DROP SEQ
C) REMOVE SEQUENCE
D) DROP SEQUENCE

Correct Answer

verifed

verified

The NEXTVALUE pseudocolumn is used to actually generate the next value in a sequence.

Correct Answer

verifed

verified

When working with cached sequence values, which of the following is correct?


A) The cache option instructs Oracle10g to return the sequence values in the same order in which the user requests were received.
B) The cache option instructs Oracle10g not to generate any more numbers after the minimum or maximum value has been reached.
C) When a value has been generated and cached, that value has been assigned and cannot be regenerated until the sequence begins a new cycle.
D) The highest value for a cached number is 10^44.

Correct Answer

verifed

verified

After the highest possible value for a sequence has been reached, previous values can be reused if the NOCYCLE option has been specified.

Correct Answer

verifed

verified

A(n) ____________________ synonym is an alternate name that can be referenced by all users.

Correct Answer

verifed

verified

Which command will modify a sequence?


A) ALTER SEQUENCE...MODIFY
B) ALTER SEQUENCE sequencename
C) ALTER SEQUENTIAL sequencename
D) CREATE OR REPLACE SEQUENCE

Correct Answer

verifed

verified

The ____________________ option of a sequence indicates that a set of values are to be pre-generated by the sequence rather than wait for a user request.

Correct Answer

verifed

verified

Which of the following commands is used to create a function-based index?


A) CREATE FUNCTION INDEX...ON
B) CREATE INDEX...ON
C) CREATE INDEX....FOR
D) CREATE INDEX...FUNCTION

Correct Answer

verifed

verified

Which command will create a sequence named NEWSEQUENCE to generate a series of integers?


A) CREATE SEQUENCE newsequence;
B) CREATE SEQUENCE STARTING WITH 5;
C) CREATE SEQUENTIAL newsequence STARTING WITH 5;
D) none of the above

Correct Answer

verifed

verified

The USER_INDEXES data dictionary view can be used to verify existing indexes. _________________________

Correct Answer

verifed

verified

Which of the following keywords is used to actually generate a sequence value?


A) NEXTVALUE
B) NEXTVAL
C) GENERATEVAL
D) GENERATE

Correct Answer

verifed

verified

An index can be created with the ____________________ INDEX command.

Correct Answer

verifed

verified

A(n)  synonym ‾\underline {\text { synonym } } is a collection of objects. _________________________

Correct Answer

verifed

verified

Which option is used to have Oracle11g pre-generate a set of values and store those values in the server's memory?


A) INTERVAL STORE
B) CACHE VALUE
C) CACHE
D) INCREMENT BY

Correct Answer

verifed

verified

The  USER ALL ‾\underline {\text { USER ALL }} data dictionary view displays information about all the relevant objects owned by the user. _________________________

Correct Answer

verifed

verified

The ____________________ view can be used to verify the existence of an index owned by a user.

Correct Answer

verifed

verified

A function-based index can be created based on which of the following?


A) UPPER(lastname)
B) (retail-cost)
C) UPPER(firstname)
D) all of the above

Correct Answer

verifed

verified

The last value generated by a sequence is stored in the ____ pseudocolumn.


A) NEXTVAL
B) DUAL
C) CURRENTVAL
D) CURRVAL

Correct Answer

verifed

verified

By default, the START WITH clause has a value of one.

Correct Answer

verifed

verified

Which command will create an index?


A) CREATE INDEX indexname IN tablename (columnname)
B) CREATE INDEX indexname REFERENCE (columnname)
C) CREATE INDEX indexname ON tablename (columnname)
D) CREATE INDEX indexname INCREMENT BY (columnname)

Correct Answer

verifed

verified

Showing 21 - 40 of 132

Related Exams

Show Answer