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 |
|
sqlclarify
Yak Posting Veteran
56 Posts |
Posted - 2009-05-10 : 02:55:51
|
| Does adding distincts to a query interfere with partition by..?I have a queryselectcol1,col2sum col3 over (partition by col1)from etc.etc.which works fine if I don't add distinct to the select clause. But if I add distinct I get strange results. Does partition by get executed last in the query. Just curious. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|
|