Collections:
Convert Character Strings to Numbers in Oracle
How To Convert Characters to Numbers in Oracle?
✍: FYIcenter.com
You can convert characters to numbers by using the TO_NUMBER() function as shown in the following examples:
SELECT TO_NUMBER('4123.4570') FROM DUAL
4123.457
SELECT TO_NUMBER(' $4,123.46','$9,999,999.99') FROM DUAL
4123.46
SELECT TO_NUMBER(' -4.12E+03') FROM DUAL
-4120
⇒ Convert Dates to Character Strings in Oracle
⇐ Convert Numbers to Character Strings in Oracle
2020-03-25, 8687🔥, 0💬
Popular Posts:
How to print value on console in SQL Server Transact-SQL? How to use the PRINT statements? In Transa...
What Are Bitwise Operations in SQL Server Transact-SQL? Bitwise operations are binary operations per...
How to connect SQL Server Management Studio Express to SQL Server 2005 Express in SQL Server? Once y...
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...