Wednesday, 17 October 2012

How To Convert Numeric Values to Character Strings? | MySQL Interview Questions

You can convert numeric values to character strings by using the CAST(value AS CHAR) function as shown in the following examples:
SELECT CAST(4123.45700 AS CHAR) FROM DUAL;
4123.45700
--

No comments: