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.
| Author |
Topic |
|
kamii47
Constraint Violating Yak Guru
353 Posts |
Posted - 2008-10-23 : 03:50:59
|
| How to use a calculated column later in the querySelect Sum(PD.Quantity) as Quantity,5 as Rate, Quantity*RateQuantity and Rate are calculate Columns how can i use the columns in the later part of the query.Kamran ShahidSr. Software Engineer(MCSD.Net,MCPD.net)www.netprosys.com |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-23 : 04:00:34
|
| [code]Select Quantity*Ratefrom(Select Sum(PD.Quantity) as Quantity,5 as Rate....)t[/code] |
 |
|
|
kamii47
Constraint Violating Yak Guru
353 Posts |
Posted - 2008-10-23 : 07:32:21
|
| Thanks VisakhKamran ShahidSr. Software Engineer(MCSD.Net,MCPD.net)www.netprosys.com |
 |
|
|
|
|
|