Oracle
1Z0-047 · Question #79
Evaluate the SQL statements: CREATE TABLE new_order (orderno NUMBER(4), booking_date TIMESTAMP WITH LOCAL TIME ZONE); The database is located in San Francisco where the time zone is -8:00. The user…
The correct answer is C. When the San Francisco user selects the row, booking_date is displayed as '007-05-10 3.00.00.000000'. See the full explanation below for the reasoning.
Question
Evaluate the SQL statements:
CREATE TABLE new_order (orderno NUMBER(4), booking_date TIMESTAMP WITH LOCAL TIME ZONE); The database is located in San Francisco where the time zone is -8:00. The user is located in New York where the time zone is -5:00. A New York user inserts the following record:
INSERT INTO new_order VALUES(1, TIMESTAMP ?007-05-10 6:00:00 -5:00?); Which statement is true?
Options
- AWhen the New York user selects the row, booking_date is displayed as '007-05-10 3.00.00.000000'
- BWhen the New York user selects the row, booking_date is displayed as '2007-05-10 6.00.00.000000
- CWhen the San Francisco user selects the row, booking_date is displayed as '007-05-10 3.00.00.000000'
- DWhen the San Francisco user selects the row, booking_date is displayed as '007-05-10 3.00.00.000000 -
How the community answered
(26 responses)- A4% (1)
- B12% (3)
- C81% (21)
- D4% (1)
Community Discussion
No community discussion yet for this question.