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:

Shawn
2 days ago
I'm pretty sure the answer is B) and F). Escaping the single quote is the key to getting the last name correct. The other options seem like they could introduce more issues.
upvoted 0 times
...
Bethanie
15 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
17 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
20 days ago
I agree with Devorah. Those changes make sense to insert the correct data.
upvoted 0 times
...
Devorah
23 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77