The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE column of data type DATE. NLS_DATE_FORMAT is set to DD-MON-RR. Which two are true about data type conversions involving these columns in query expressions? (Choose two.)
A.
invoice_date = '15-march-2019' : uses implicit conversion
B.
qty_sold BETWEEN '101' AND '110' : uses implicit conversion
C.
invoice_date > '01-02-2019' : uses implicit conversion
D.
qty_sold = '0554982' : requires explicit conversion
E.
CONCAT (qty_sold, invoice_date) : requires explicit conversion
C. invoice_date > '01-02-2019': This statement uses implicit conversion. The date string is implicitly converted to a DATE type using the default date format.
D. qty_sold = '0554982': This statement requires explicit conversion. You need to explicitly convert the string to a NUMBER to compare it with the QTY_SOLD column.
A. Implicit conversion can be done as string matches the NSL_DATE_FORMAT.
B. Implicit conversion to number
C. Can't use implicit conversion as string doesn't match NSL_DATE_FORMAT
D. Doesn't require explicit conversion
E. Doesn't require explicit conversion
but the month is spelled out isn't MON the three letter abbreviation of the month?
upvoted 2 times
...
...
...
Log in to ExamTopics
Sign in:
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.
ArslanAltaf
5 months agoBertrand_dok
5 months, 1 week agoyanoolthecool
5 months ago799f3be
7 months agoa947739
4 months, 2 weeks agoNennuzzo
11 months agoMonesha_Ganesan
11 months agoMooonLight
1 year, 6 months agokuff
1 year, 6 months agolucemqy
1 year ago