By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,515 Members | 1,682 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,515 IT Pros & Developers. It's quick & easy.

Data Conversion in DB2

P: n/a
Can someone point to a good source of information for converting data
types in DB2?

i.e. string to integers, etc

Apr 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Jaraba" <fg*****@tampabay.rr.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
Can someone point to a good source of information for converting data
types in DB2?

i.e. string to integers, etc


Look as the CAST function in SQL Reference Vol 1.
Apr 27 '06 #2

P: n/a

select sum(cast(mycol as integer)) from mytable

regards

Mehmet

Apr 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.