exam questions

Exam 1z0-148 All Questions

View all questions & answers for the 1z0-148 exam

Exam 1z0-148 topic 1 question 25 discussion

Actual exam question from Oracle's 1z0-148
Question #: 25
Topic #: 1
[All 1z0-148 Questions]

Which two statements are true about the DBMS_ LOB package?

  • A. DBMS_LOB.COMPARE can compare parts of two LOBs.
  • B. DBMS_LOB.COMPARE returns the size difference of the compared LOBs.
  • C. DBMS_LOB.COMPARE is overloaded and can compare CLOBs with BLOBs.
  • D. If the destination LOB is a temporary LOB, the row must be locked before calling DBMS_LOB.CONVERTTOBLOB.
  • E. Before calling DBMS_LOB.CONVERTTOBLOB, both the source and destination LOB instances must exist.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️
Reference:
https://docs.oracle.com/cd/E18283_01/appdev.112/e16760/d_lob.htm#insertedID2

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
orakell
Highly Voted 5 years, 2 months ago
AE, not DE. D is false because it says temporary instead of persistent.
upvoted 12 times
...
Rakeshpro
Most Recent 2 years, 4 months ago
https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_LOB.html#GUID-FDD375E4-77B4-482E-9984-0E1CABDA3FC7
upvoted 1 times
Rakeshpro
2 years, 4 months ago
COMPARE: Compares two entire LOBs or parts of two LOBs. You can only compare LOBs of the same datatype. CONVERTTOBLOB: Reads character data from a source CLOB or NCLOB instance, converts the character data to the specified character, writes the converted data to a destination BLOB instance in binary format, and returns the new offsets. You can use this interface with any combination of persistent or temporary LOB instances as the source or destination. Both the source and destination LOB instances must exist. If the destination LOB is a persistent LOB, the row must be locked. To lock the row, select the LOB using the FOR UPDATE clause of the SELECT statement.
upvoted 1 times
Rakeshpro
2 years, 4 months ago
Answer is A & E
upvoted 1 times
...
...
...
chrishillinger
2 years, 5 months ago
Selected Answer: AE
According to documentation eg here https://docs.oracle.com/database/121/ARPLS/d_lob.htm
upvoted 1 times
...
CosminCof
4 years, 2 months ago
AE is the correct answer
upvoted 2 times
...
jcamt
4 years, 3 months ago
https://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_lob.htm#BABEAJAD https://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_lob.htm#i1020355
upvoted 1 times
...
certyk
4 years, 4 months ago
A -> ref " This function compares two entire LOBs or parts of two LOBs." E -> ref " Both the source and destination LOB instances must exist. " ref link -> https://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_lob.htm#BABDDFDH
upvoted 1 times
...
peguynya
4 years, 6 months ago
A,E. D would have been true only if the lob was persistent.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago