question

AshokKumarBollineni avatar image
AshokKumarBollineni asked

Ho to Sum array values?

Hi All,


I have requirement like:

Empid=1,Salary[100,130,150,160,]

For that emplyeeid in need to sum values which are exiting in array. (salary column)

I am getting data from Table.

Requesting you to suggest how to achieve it.


Regards,

Ashok

sqlserver2012
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.