Member Login:
e-mail:
password:
Register
Forgot Password
Site FAQ
Home
>
IT Answers
>
AS/400
> Converting a varchar to a numberic in SQL query
AS400 - Ask the Expert
485 pts.
Converting a varchar to a numberic in SQL query
AS/400
,
DB2
,
DB2/400
,
SQL Query
,
VARCHAR
How can we convert a varchar field to Numberic in a SQL Query in db2 400?
Software/Hardware used:
ASKED:
November 4, 2008 5:50 PM
UPDATED:
December 4, 2008 2:04 AM
Discuss
 
Add to Watchlist
RELATED QUESTIONS
MS Access 2003 write in SQL query to convert string to numeric
SQL Server view column conversion problem
Linked server SQL select into
Convert string to number
Converting datetime (time portion) to varchar
Answer Wiki:
Does this do it? dec(odptn ) How about using SQL functions: INTEGER(varchar_column) The same can be done to other DB2 numeric data types.
Does this do it? dec(odptn ) How about using SQL functions: INTEGER(varchar_column) The same can be done to other DB2 numeric data types.
Last Wiki Answer Submitted:
December 4, 2008 2:04 am
by
philpl1jb
44,190 pts.
All Answer Wiki Contributors:
philpl1jb
44,190 pts.
To see all answers submitted to the Answer Wiki:
View Answer History
.
Please complete the following information:
REGISTER / LOG-IN TO ANSWER QUESTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
RSS - Discussions
Help
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Please complete the following information:
REGISTER / LOG-IN TO DISCUSS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
Ask a Question
Question Title:
(150 char. limit.)
Question:
(Please be specific.)
Tags:
(Separate each tag with a comma.)
What is a Tag?
Browse IT Answers by Topic
AS/400
Big Data
Business Intelligence
Channel
CIO
Cloud Computing
Consumerization
CRM
Database
DataCenter
Development
Exchange
Linux
Lotus Domino
Microsoft Windows
Mobile
Networking
Oracle
SAP
Security
SQL Server
Storage
Virtualization
VoIP
Windows Server
>>
VIEW ALL TAGS