Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-909 Topic 8 Question 38 Discussion

Actual exam question for Oracle's 1Z0-909 exam
Question #: 38
Topic #: 8
[All 1Z0-909 Questions]

Your session has sqi_mode set to default.

Examine this statement which executes successfully:

Now examine this statement:

Which two changes are required to the insert statement so that it inserts the correct data?

* std_id = 10301

* firstname = Mary

* lastname = O'Hagen

* birthdate = November 26, 1997

* reg_date = the current date

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Bethanie
7 days ago
The correct answers are B) and F) - we need to escape the single quote in 'O'Hagen' to 'O\\'Hagen'. The other changes don't seem necessary based on the provided information.
upvoted 0 times
...
Gennie
9 days ago
I'm not sure about the changes. I think A) Change DATE() to DAY() might also be needed. What do you think?
upvoted 0 times
...
Aliza
12 days ago
I agree with Devorah. Those changes make sense to insert the correct data.
upvoted 0 times
...
Devorah
15 days ago
I think the correct changes are C) Change date() to CURRENT_TIMESTAMP() and F) Change \'O'Hagen\' to \'O\\'Hagen\'.
upvoted 0 times
...

Save Cancel