SELECT TO_NUMBER(ZIP_CODE)
FROM ACCOUNT;
SQL Server:
SELECT CAST(ZIP_CODE AS INT)
FROM ACCOUNT;
You can also use CONVERT function in SQL Server
Saturday, April 11, 2009
Convert to number
at 12:30 AM
Labels: Oracle, Oracle Query, PL/SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment