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
 General SQL Server Forums
 New to SQL Server Programming
 Multiplication On Each Row

Author  Topic 

Gerald30
Yak Posting Veteran

62 Posts

Posted - 2012-06-28 : 21:04:35
Hello Guys.

Do you know how can multiply row on each other?

Example:
I have this Rows

|Quantity|
40
50
60
88

I want multiply them to each other like this
40*50*60*88
to get the result like this one.
10560000

Is there a way to do that?

Thank you

waterduck
Aged Yak Warrior

982 Posts

Posted - 2012-06-29 : 02:07:18
kindly read peso blog
http://www.simple-talk.com/sql/learn-sql-server/
Go to Top of Page

waterduck
Aged Yak Warrior

982 Posts

Posted - 2012-06-29 : 02:11:11
sorry post wrongly
http://www.simple-talk.com/sql/database-administration/the-road-to-professional-database-development-set-based-thinking/
the ending parts of the blog
Go to Top of Page
   

- Advertisement -