更多“单选题Which of the following datatypes store time-zone information in the database?()A  TIMESTAMPB  DATEC  TIMESTAMP WITH TIME ZONED  TIMESTAMP WITH LOCAL TIME ZONEE  DATETIME”相关问题
  • 第1题:

    How does NTP help you troubleshoot network problems?()

    • A、By calculating the time offset from the GPS or atomic clock
    • B、By setting the router clock to the default value if the router can't connect to a time server
    • C、By setting all network devices to the correct time
    • D、By setting necessary time date in the timestamp information

    正确答案:C

  • 第2题:

    You are using the control file to maintain information about the database backups that are being performed by Recovery Manager (RMAN). Identify two scenarios is which you must have a recovery catalog.()

    • A、To store the backup information of multiple database
    • B、To restrict the amount of space that is used by the backups
    • C、To maintain a backup for a certain time is set by the CONTROL_FILE_RECORD_KEEP_TIME parameter.
    • D、To list the data files that were in a target database at a given time by using the AT option of REPORT SCHEMA command.

    正确答案:A,D

  • 第3题:

    Which three are DATETIME data types that can be used when specifying column definitions?()

    • A、TIMESTAMP
    • B、INTERVAL MONTH TO DAY
    • C、INTERVAL DAY TO SECOND
    • D、INTERVAL YEAR TO MONTH
    • E、TIMESTAMP WITH DATABASE TIMEZONE

    正确答案:A,C,D

  • 第4题:

    You are using the control file to maintain information about the database backups that are being performed by Recovery Manager (RMAN).Identify two scenarios is which you must have a recovery catalog. ()(Choose two.)

    • A、To store the backup information of multiple database
    • B、To restrict the amount of space that is used by the backups
    • C、To maintain a backup for a certain time is set by the CONTROL_FILE_RECORD_KEEP_TIME parameter.
    • D、To list the data files that were in a target database at a given time by using the AT option of REPORT SCHEMA command.

    正确答案:A,D

  • 第5题:

    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.

    正确答案:A

  • 第6题:

    The current time zone for one of the user sessions is set to the database local time zone. For one application, the user session requires the time zone to be set to the local operating system time zone without affecting other user sessions. Which two solutions could the user implement to achieve this objective? ()

    • A、 use the ALTER SYSTEM command to change the time zone
    • B、 use the ALTER SESSION command to change the time zone
    • C、 use the ALTER DATABASE command to change the time zone
    • D、 set the value for the operating system variable ORA_SDTZ on the client machine
    • E、 set the value for the operating system variable ORA_SDTZ on the database server machine

    正确答案:B,D

  • 第7题:

    You issued the following command at the UNIX environment:   % setenv ORA_SDTZ ’OZ_TZ’   What will be the impact of issuing the above command?()  

    • A、 The operating system local time zone will be set for a user session using the operating system environment variable.
    • B、 The database local time zone will be set for a user session using the operating system environment variable.
    • C、 The operating system local time zone will be set for the database using the operating system environment
    • D、 The database local time zone will be set for the database using the operating system environment variable.

    正确答案:B

  • 第8题:

    单选题
    Which of the following are all valid DB2 data types?()
    A

    LONG VARCHAR, SMALLINT, NUMBER, BLOB

    B

    DECIMAL, DATE, DBCLOB, INTERVAL

    C

    NUMERIC, TIMESTAMP, BYTE, FLOAT

    D

    NUM, TIME, XML, DOUBLE


    正确答案: D
    解析: 暂无解析

  • 第9题:

    单选题
    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?()
    A

     The statement will be executed successfully, and a new time zone will be set for the database.

    B

     The statement will be executed successfully, but a new time zone will not be set for the database.

    C

     The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.

    D

     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.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    You issued the following command at the UNIX environment:   % setenv ORA_SDTZ ’OZ_TZ’   What will be the impact of issuing the above command?()
    A

     The operating system local time zone will be set for a user session using the operating system environment variable.

    B

     The database local time zone will be set for a user session using the operating system environment variable.

    C

     The operating system local time zone will be set for the database using the operating system environment

    D

     The database local time zone will be set for the database using the operating system environment variable.


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    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.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    Which command will restore all datafiles to the date 9/30/2008 at 18:00 hours? ()
    A

    restore datafiles until time '09/28/2008:21:03:11'

    B

    restore database files until time '09/28/2008:18:00:00'

    C

    restore database until time '09/28/2008:18:00:00'

    D

    recover database until time '09/28/2008:18:00:00'

    E

    recover database until timestamp '09/28/2008:18:00:00'


    正确答案: C
    解析: 暂无解析

  • 第13题:

    Which of the following are all valid DB2 data types?()

    • A、LONG VARCHAR, SMALLINT, NUMBER, BLOB
    • B、DECIMAL, DATE, DBCLOB, INTERVAL
    • C、NUMERIC, TIMESTAMP, BYTE, FLOAT
    • D、NUM, TIME, XML, DOUBLE

    正确答案:D

  • 第14题:

    Which of the following datatypes store time-zone information in the database?()

    • A、TIMESTAMP
    • B、DATE
    • C、TIMESTAMP WITH TIME ZONE
    • D、TIMESTAMP WITH LOCAL TIME ZONE
    • E、DATETIME

    正确答案:C

  • 第15题:

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

    • A、 The statement will be executed successfully, and a new time zone will be set for the database.
    • B、 The statement will be executed successfully, but a new time zone will not be set for the database.
    • C、 The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.
    • D、 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.

    正确答案:D

  • 第16题:

    You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY-MM-DD. The default format of which two data types would be affected by this setting? ()

    • A、 DATE
    • B、 TIMESTAMP
    • C、 INTERVAL YEAR TO MONTH
    • D、 INTERVAL DAY TO SECOND
    • E、 TIMESTAMP WITH LOCAL TIME ZONE

    正确答案:B,E

  • 第17题:

    You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY/x7fMM/x7fDD. The default format of which two data types would be affected by this setting?()

    • A、DATE
    • B、TIMESTAMP
    • C、INTERVAL YEAR TO MONTH
    • D、INTERVAL DAY TO SECOND
    • E、TIMESTAMP WITH LOCAL TIME ZONE

    正确答案:B,E

  • 第18题:

    Examine the list of variables and their data types:  AME DATA Type  TS, TS1 TIMESTAMP  TSZ TIMESTAMP WITH TIME ZONE  TLZ TIMESTAMP WITH LOCAL TIME ZONE  IYM INTERVAL YEAR TO MONTH  IDS, IDSI INTERVAL YEAR To SECOND   Which three expressions using the new data and time data types are valid?()

    • A、IDS* 2
    • B、TS + IYM
    • C、TS –TSI
    • D、IDS – TS
    • E、IDS + IYM

    正确答案:A,B,E

  • 第19题:

    多选题
    You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY/x7fMM/x7fDD. The default format of which two data types would be affected by this setting?()
    A

    DATE

    B

    TIMESTAMP

    C

    INTERVAL YEAR TO MONTH

    D

    INTERVAL DAY TO SECOND

    E

    TIMESTAMP WITH LOCAL TIME ZONE


    正确答案: D,B
    解析: 暂无解析

  • 第20题:

    多选题
    You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY-MM-DD. The default format of which two data types would be affected by this setting? ()
    A

    DATE

    B

    TIMESTAMP

    C

    INTERVAL YEAR TO MONTH

    D

    INTERVAL DAY TO SECOND

    E

    TIMESTAMP WITH LOCAL TIME ZONE


    正确答案: E,A
    解析: 暂无解析

  • 第21题:

    单选题
    Which of the following datatypes store time-zone information in the database?()
    A

    TIMESTAMP

    B

    DATE

    C

    TIMESTAMP WITH TIME ZONE

    D

    TIMESTAMP WITH LOCAL TIME ZONE

    E

    DATETIME


    正确答案: C
    解析: 暂无解析

  • 第22题:

    多选题
    You are using the control file to maintain information about the database backups that are being performed by Recovery Manager (RMAN).Identify two scenarios is which you must have a recovery catalog. ()(Choose two.)
    A

    To store the backup information of multiple database

    B

    To restrict the amount of space that is used by the backups

    C

    To maintain a backup for a certain time is set by the CONTROL_FILE_RECORD_KEEP_TIME parameter.

    D

    To list the data files that were in a target database at a given time by using the AT option of REPORT SCHEMA command.


    正确答案: B,C
    解析: 暂无解析

  • 第23题:

    单选题
    Which of the following datatypes store time-zone information in the database?()
    A

     TIMESTAMP

    B

     DATE

    C

     TIMESTAMP WITH TIME ZONE

    D

     TIMESTAMP WITH LOCAL TIME ZONE

    E

     DATETIME


    正确答案: C
    解析: 暂无解析

  • 第24题:

    单选题
    How does NTP help you troubleshoot network problems?()
    A

    By calculating the time offset from the GPS or atomic clock

    B

    By setting the router clock to the default value if the router can't connect to a time server

    C

    By setting all network devices to the correct time

    D

    By setting necessary time date in the timestamp information


    正确答案: C
    解析: 暂无解析