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 |
|
skiabox
Posting Yak Master
169 Posts |
Posted - 2008-01-30 : 09:58:30
|
| I have made a view that gets its values from another view.Here is the view code :SELECT bedalog, SUM(bedaposo) AS sbedaposoFROM ErmisUser.QBEPROKWHERE (bedaflarr = '1') AND (LEFT(bedakind, 1) <> 'P')GROUP BY bedalogHow can I write a diferent view to get the bedaposo field and not its sum for each bedalog?Thank you! |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-01-30 : 10:50:49
|
Remove GROUP BY and SUM(). If this is not what you want, please explain in clear terms what is your purpose.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
|
|
|
|