单项选择题

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?()  

A. The statement will fail.
B. The statement will be executed successfully, and the new time zone will be set for the database.
C. The statement will be executed successfully, but the new time zone will be set for the current session.
D.The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题Which statement must you issue to an already-running Automatic Storage Management (ASM) instance to prevent database instances from connecting to the ASM instance?() 

A. ALTER SYSTEM KILL SESSION
B. ALTER SYSTEM DISCONNECT SESSION
C. ALTER SYSTEM QUIESCE RESTRICTED
D. ALTER SYSTEM ENABLE RESTRICTED SESSION

2.单项选择题Which of the following options is true about shutting down an Automatic Storage Management (ASM) instance?()  

A. If the SHUTDOWN IMMEDIATE command is issued to the ASM instance, the ASM instance immediately shuts down.
B. If the SHUTDOWN ABORT command is issued to the ASM instance, the ASM instance will shut down all the database instances and then shut down immediately.
C. If the SHUTDOWN NORMAL command is issued to the ASM instance, before shutting down, the ASM instance waits for the dependent database instances to shut down.
D. If the SHUTDOWN TRANSACTIONAL command is issued to the ASM instance, the ASM instance passes the same SHUTDOWN command to the dependent database instances, but does not wait for any active transactions to complete before it shuts down.

4.单项选择题Your database is configured on non-ASM disk storage. You need to migrate your database to ASM disk storage.  Which statement is true about migrating from non-ASM disk storage to ASM disk storage?() 

A. You can use the operating system utility to migrate from non-ASM disk storage to ASM disk storage.
B. You cannot perform a database backup from non-ASM disk storage to tape and then move it to ASM disk storage.
C. You can use the SWITCH DATABASE TO COPY Recovery Manager (RMAN) command to switch back to non-ASM disk storage if you have not deleted your original datafiles.
D. You cannot use Recovery Manager (RMAN) to migrate from non-ASM disk storage to ASM disk storage if you are not using RMAN for your backup and recovery strategies.

7.单项选择题

You have configured the ASM instance for the PROD database of iPod Corporation. You have specified the following parameter values in the initialization parameter file:  
DB_CREATE_FILE_DEST=’devices/grp1/P’  
DB_CREATE_ONLINE_LOG_DEST_1=’devices/d_grp2/Q’       
DB_CREATE_ONLINE_LOG_DEST_2=’devices/d_grp3/R’       
BACKGROUND_DUMP_DEST=’devices/d_grp1/S’  
You have added a new redo log group that contains two redo log members. Where are the redo log members stored?()

A. Both the members will be stored in the ’devices/grp1/P’ directory.
B. Both the members will be stored in the ’devices/d_grp2/Q’ directory.
C. Both the members will be stored in the ’devices/d_grp3/R’ directory.
D. One member will be stored in the ’devices/d_grp2/Q’ directory and the other in the ’devices/d_grp3/R’ directory.

8.单项选择题During tablespace creation, which filename format is NOT used for creating datafiles associated with a tablespace?()

A. incomplete names
B. incomplete names with templates
C. alias with template names
D. numeric names

9.单项选择题

You included the following Automatic Storage Management (ASM) initialization parameter settings in the ASM initialization parameter file:  
INSTANCE_TYPE = ASM  ASM_POWER_LIMIT = 11  LARGE_POOL_SIZE = 4M  
ASM_DISKGROUPS = DG1, DG2  DB_UNIQUE_NAME = +ASM  
You are unable to start the ASM instance. Which initialization parameter file setting(s) is not allowing the ASM instance to start?()

A. only the INSTANCE_TYPE initialization parameter is set to an invalid value
B. only the ASM_POWER_LIMIT initialization parameter is set to an invalid value
C. only the LARGE_POOL_SIZE initialization parameter is set to an invalid value
D. both the LARGE_POOL_SIZE and INSTANCE_TYPE initialization parameters are set to invalid values

最新试题

You are working on an Oracle Database 10g database. Because of data loss, you decided to perform a Flashback Database operation using the following command: SQL> FLASHBACK DATABASE TO TIMESTAMP(SYSDATE 5/24); Which two statements are true? ()

题型:多项选择题

The current time is 12:00 noon. You want to recover the USERS tablespace from a failure that occurred at 11:50 a.m. You discover that the only member of an unarchived redo log group containing information from 11:40 a.m. onwards is corrupt. With reference to this scenario, if you are not using Recovery Manager (RMAN), which recovery method would you use?()

题型:单项选择题

A data file became corrupted in your database due to bad sectors on the disk. Because of corruption, you lost all the important tables in that data file.Which method would you use for recovery?()

题型:单项选择题

You lost the PRODSTD tablespace, which was read/write. The tablespace was read­only when the last backup was performed. How would you recover the tablespace?()

题型:单项选择题

You have a read­only tablespace on read­only media. You want to perform a media recovery on the existing data files, but using a backup control file. The backup control file indicates that the status of the read­only tablespace was read/write when the control file was backed up. What should you consider?()

题型:单项选择题

You are using Oracle Database 10g. The LOG_ARCHIVE_FORMAT parameter is set to ’LOG%t_%s_%r.dbf’. Why is %r used in the file name format?() 

题型:单项选择题

You lost the index tablespace in your database. You decided to re­create the index tablespace and the indexes in the tablespace. What methods can you use to re­create the indexes?()

题型:多项选择题

You performed an incomplete recovery on your Oracle Database 10g database using the following command: SQL> RECOVER DATABASE 2 UNTIL TIME ’2004­08­05:12:10:03’ 3 USING BACKUP CONTROLFILE; In which situation would the above recovery be required?()

题型:单项选择题

You are connected to Recovery Manager (RMAN) without a recovery catalog. There is no copy of the control file available. You want to restore the control file from an autobackup. To retrieve the autobackup,you need the database ID (DBID). In which two sources would you find the DBID? ()

题型:多项选择题

Your database operates in ARCHIVELOG mode and user­managed consistent backups are performed every Sunday night. On Tuesday, at 9:00 a.m. the current log sequence number was 369. Also, on Tuesday you lost the data file belonging to the SYSTEM tablespace and an archivelog file (sequence number 356) that contained redo entries between 8:00 a.m. and 8:30 a.m. With reference to this scenario, what would you do to recover the database?()

题型:单项选择题