Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

using sum

Former Member
0 Likes
533

hi ,

if i have two or more numeric type fields in my table and i am using the

SUM to give me a grand total of only one field(column). Does the sum calculate

the sum of the field i wanted or all the fields with numeric datatypes present

in the table.

4 REPLIES 4
Read only

Former Member
0 Likes
500

Hi,

Yes..It will sum up all the numeric fields..

Thanks,

Naren

Read only

Former Member
0 Likes
500

Hi vijay..

It will sum up all the numeric fields.........

u should be care full when you are using <b>sum</b> because the sum of the values in any field may cause an overflow and it may go for a dump.....

Suresh....

Read only

Former Member
0 Likes
500

Hi ,

it will sum up all the field of type I , P , N.

Read only

Former Member
0 Likes
500

Hi

It will sum up values of fields with domain data type N, I, P.

Pulokesh