Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Getting the sum of all columns from a table if all the fields are of numeric type

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-05 : 21:31:08
gangadhar writes "How can we get the sum of all columns from a database table if
the table contains "n" columns which are of type "numeric"
in Sql Query ?

I dont want to select sum(0).....sum(n-1).
Is there any easy way??"
   

- Advertisement -