2
3
11
30
第1题:
Which of the following is a characteristic of a sequence?()
第2题:
A sequence was created with the DDL statement shown below:CREATE SEQUENCE my_sequence CACHE 10 ORDER The following statements are successfully executed in sequence through separate database connections: CONNECTION1 - VALUES NEXT VALUE FOR my_sequence INTO :con1hvar CONNECTION2 - VALUES NEXT VALUE FOR my_sequence INTO :con2hvar CONNECTION1 - VALUES NEXT VALUE FOR my_sequence INTO:con1hvarWhat is the current value of the :con1hvar host variable?()
第3题:
What is true about sequences? ()
第4题:
Your Oracle10g database contains a table with a TIMESTAMP TO LOCAL TIME ZONE column. There are about two hundred column values for the column. You issued the following statement: SQL> ALTER DATABASE SET TIME_ZONE =’Europe/London’; What will be the result of issuing the above statement?()
第5题:
Which two statements about sequences are true? ()
第6题:
You created the ORDERS table in your database by using the following code: SQL> CREATE TABLE ORDERS (ORDER_DATE TIMESTAMP(0) WITH TIME ZONE); Then, you inserted data in the ORDERS table and saved it by issuing the following statements:SQL> INSERT INTO ORDERS VALUES(’18-AUG-00 10:26:44 PM America/New_York’); SQL> INSERT INTO ORDERS VALUES(’23-AUG-02 12:46:34 PM America/New_York’); SQL> COMMIT; Next, you issued the following statement to change the time zone for the database: SQL> ALTER DATABASE SET TIME_ZONE=’Europe/London’; What will be the result of executing the above statement?()
第7题:
You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()
第8题:
The statement will be executed successfully, and a new time zone will be set for the database.
The statement will be executed successfully, but a new time zone will not be set for the database.
The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.
The statement will not be executed successfully because the ALTER DATABASE SET TIME_ZONE statement is used only when the database contains no table with the TIMESTAMP TO LOCAL TIME ZONE column.
第9题:
The start value of the sequence is always 1.
A sequence always increments by 1.
The minimum value of an ascending sequence defaults to 1.
The maximum value of descending sequence defaults to 1.
第10题:
2
3
11
30
第11题:
The next value will be 0 and the sequence will never use the values 101 to 105.
The next value will be 101 to ensure uniqueness between existing and newly generated sequence values.
Previously cached values are retained by DB2, and after the restart, will be used for values 101 to 105.
The next value will be 0 and DB2 will not ensure uniqueness between existing and newly generated values.
第12题:
A range of SCN values
A list of SCN values
A starting and ending timestamp
Minimum and maximum sequence values
A list of sequence values
第13题:
Within the application MY_APP the following PREVIOUS VALUE expression references the sequence MY_SEQ: PREVIOUS VALUE FOR my_seq After which of the following events will the most recently generated value of MY_SEQ persist so that it can be returned to the active MY_APP application?()
第14题:
A sequence was created with the DDL statement shown below:CREATE SEQUENCE my_seq START WITH 5 INCREMENT BY 5 CACHE 5 User1 successfully executes the following statements in Connection1: VALUES NEXT VALUE FOR my_seq INTO :con1hvar VALUES NEXT VALUE FOR my_seq INTO :con1hvar User2 successfully executes the following statement in Connection2: VALUES NEXT VALUE FOR my_seq INTO :con2hvar After User1 & User2 are finished, User3 executes the following statement in Connection3: SELECT NEXT VALUE FOR my_seq FROM sysibm.sysdummy1Which value will be returned by the query?()
第15题:
Which of the following can be used in conjunction with a Flashback Versions Query to filter the results?()
第16题:
Your database operates in ARCHIVELOG mode. The redo log files are not multiplexed and one of the online redo logs is missing. The missing redo log sequence, 230, is not archived, and it contained information from 10:35 a.m. onwards. The current time is 11:00 a.m. Because of a disk crash, you executed the following command to perform an incomplete recovery: RMAN> RUN { 2> SET UNTIL SEQUENCE 230 THREAD 1; 3> ALTER DATABASE MOUNT; 4> RESTORE DATABASE; 5> RECOVER DATABASE; 6> ALTER DATABASE OPEN RESETLOGS; 7> }; With reference to this scenario, which statement is true?()
第17题:
What is true about sequences? ()
第18题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL, Primary Key EMP_NAME VARCHAR2(30) JOB_ID NUMBER SAL NUMBER MGR_ID NUMBER References EMPLOYEE_ID column DEPARTMENT_ID NUMBER Foreign key to DEPARTMENT_ID column of the DEPARTMENTS table You created a sequence called EMP_ID_SEQ in order to populate sequential values for the EMPLOYEE_ID column of the EMPLOYEES table. Which two statements regarding the EMP_ID_SEQ sequence are true? ()
第19题:
RMAN recovers up to log sequence 230, but not including 230.
RMAN returns an error because the log sequence number mentioned in the command should be 229.
RMAN returns an error because the log sequence number mentioned in the command may never be missing.
RMAN recovers up to and including log sequence 229 but then returns an error because log sequence 230 is missing.
第20题:
After a ROLLBACK is issued
After the sequence is altered
After the sequence is dropped
After the current session ends
第21题:
Once created, a sequence belongs to a specific schema.
Once created, a sequence is linked to a specific table.
Once created, a sequence is automatically available to all users.
Only the DBA can control which sequence is used by a certain table.
Once created, a sequence is automatically used in all INSERT and UPDATE statements.
第22题:
The statement will fail.
The statement will be executed successfully, and the new time zone will be set for the database.
The statement will be executed successfully, but the new time zone will be set for the current session.
The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.
第23题:
20
25
50
55
第24题:
A sequence will never generate duplicate values
The MAXVALUE of a sequence can be equal to the MINVALUE
It is not possible to create a sequence that generates a constant since the INCREMENT value must be greater than zero
When a sequence cycles back to either the MAXVALUE or MINVALUE, it will always be equal to the specified value of either of these two boundaries