Home »
MCQs »
Transact-SQL (T-SQL) MCQs
Select RIGHT('HELLO', 3); What will be the output of the above code?
53. Select RIGHT('HELLO', 3)
What will be the output of the above code?
- HELL
- ELL
- OLL
- LLO
Answer: D) LLO
Explanation:
RIGHT function returns us the RIGHT part of the string, according to the specified number of characters, so the output would be LLO.