Which three tasks can be performed using SQL functions built into Oracle Database?
A.
Displaying a date in a nondefault format
B.
Finding the number of characters in an expression
C.
Substituting a character string in a text expression with a specified string
D.
Combining more than two columns or expressions into a single column in the output
A,B,C
A, B, C
Combining more than two columns or expressions into a single column in the output. ¿ What happen with CONCAT function ? ¿ Why D. option doesn’t works ?
A – TO_CHAR (datetime)
B ? this sentence is for me quite ambiguous. If “the number of characters” means number of specified characters or number of only characters (not numbers) then we should use REGEXP_COUNT or sth like LENGTH(REGEXP_REPLACE(name,'[a-zA-Z]’,”))
C – REPLACE
D – CONCAT
So in my opinion answer is A,C,D
sorry, it should be “LENGTH(REGEXP_REPLACE(name,'[0-9]’,”))” 🙂