Finding the sum of all the value of a column.

Select  Sum(cast (m.FileSize as BigInt))
from Documents m

Documents->table name
FileSize->Column name