Page 1 of 1

SUM function on Alphanumeric column in DB2

PostPosted: Sun Apr 22, 2012 11:06 pm
by Praveen5526
Can we use SUM function on Alphanumeric column in db2?

TITLE EDITED.

Re: DB2

PostPosted: Sun Apr 22, 2012 11:13 pm
by enrico-sorichetti
using an intelligent title will make people more interested in the questions You might ask
a stupid title will usually make people skip the post!

Re: SUM function on Alphanumeric column in DB2

PostPosted: Mon Apr 23, 2012 8:58 am
by dick scherrer
Hello,

I suspect a bit of redesign is in order. . .

If the column can contain any non-numeric value(s), it won't sum.

If it can only contain numeric values, it should be defined as numeric :?