Oracle
1Z0-146 · Question #85
1Z0-146 Question #85: Real Exam Question with Answer & Explanation
The correct answer is E. Only the first, second and third statements are valid.. TO_BLOB converts LONG RAW and RAW values to BLOB values.
Question
You issue the following command to create the PRINT_MEDIA table. CREATE TABLE print_media (product_id NUMBER(3), ad_sourcetext CLOB, ad_photo BLOB); Evaluate the following INSERT statements: INSERT INTO print_media VALUES (1, empty_clob(),empty_blob()); INSERT INTO print_media VALUES (2,'This is a One Line Story',null); INSERT INTO print_media VALUES (3,'This is another One Line Story',empty_blob()); INSERT INTO print_media VALUES (4,empty_clob(),to_blob('This is new Story')); Which of the above INSERT statements are valid?
Options
- AOnly the first statement is valid.
- BAll the statements are valid.
- COnly the first and fourth statements are valid.
- DOnly the first and second statements are valid.
- EOnly the first, second and third statements are valid.
Explanation
TO_BLOB converts LONG RAW and RAW values to BLOB values.
Community Discussion
No community discussion yet for this question.