Home »
MCQs »
SQL MCQs »
SQL Comments, Group By, Cast Function MCQs
What will be the output of the below SQL statement (1)?
11. What will be the output of the below SQL statement?
SELECT CAST(25.65 AS varchar);
- 25
- 26
- 25.65
- 25.00
Answer: C) 25.65
Explanation:
This statement converts the value to a varchar datatype.