![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
SUMMARY: SSMS Query Designer chokes on analytic functions. Is there any workaround for this? |
#3
| |||
| |||
|
|
Yes, don't use the Query Designer. It's a piece of crap. For reasons you just have discovered. There are plenty of constructs it does not support. It tends to put in TOP(100) PERCENT ORDER BY in view definitions which is useless. It also has quite funky formatting of the queries. |
#4
| |||
| |||
|
|
Has anyone heard if the Designer will be improved in Denali? |
#5
| |||
| |||
|
|
bill (billmacle... (AT) gmail (DOT) com) writes: SUMMARY: SSMS Query Designer chokes on analytic functions. *Is there any workaround for this? Yes, don't use the Query Designer. It's a piece of crap. For reasons you just have discovered. There are plenty of constructs it does not support. It tends to put in TOP(100) PERCENT ORDER BY in view definitions which is useless. It also has quite funky formatting of the queries. Yes, it may seem comfortable for the novice, but that is just like the bikes we had when we were kids. They had three wheels, or if they were two-wheeled, they had two small support wheels. But there was a point when mom and dad took those away, and told us that it was time that we learn to master the bicycle as it is meant to be used. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008:http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005:http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx |
#6
| |||
| |||
|
|
bill (billmacle... (AT) gmail (DOT) com) writes: Has anyone heard if the Designer will be improved in Denali? I doubt. One problem with a thing like the Designer is that there is only so much you can do with a graphical interface. How would you visualise a row number? A running sum (improvement to the OVER() clause added in Denali.) Of course it doesn't help if what you have is rotten from the bottom up. Personally, I think the best improvement that Microsoft could do is to pull it. Alas, it is still there. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008:http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005:http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx |
![]() |
| Thread Tools | |
| Display Modes | |
| |