Q
Problem solve Get help with specific problems with your technologies, process and projects.

How do I make a character field numeric in the Proc SQL statement?

How do I make a character field numeric in the Proc SQL statement? I don't remember the syntax. Thanks.


To convert a character field to a numeric field, use the TO_NUMBER function. It takes a string as input and produces a number as output. For example,

SELECT TO_NUMBER('1234') FROM DUAL;

For More Information


Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close