467,887 Members | 1,586 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,887 developers. It's quick & easy.

Data Conversion in DB2

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
  • viewed: 1092
Share:
2 Replies
"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

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.

Similar topics

12 posts views Thread by Dillon Mantle | last post: by
10 posts views Thread by Zap | last post: by
6 posts views Thread by New MSSQL DBA | last post: by
4 posts views Thread by Ivan | last post: by
1 post views Thread by tony.fountaine | last post: by
reply views Thread by bpo_ccs | last post: by
4 posts views Thread by alacrite | last post: by
23 posts views Thread by neha_chhatre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.