Red Gate forums :: View topic - No suggestion before analytical function
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 6
SQL Prompt 6 forum

No suggestion before analytical function

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
buckley



Joined: 26 Jan 2006
Posts: 25

PostPosted: Wed Feb 12, 2014 2:55 pm    Post subject: No suggestion before analytical function Reply with quote

I took the time to come up with this self contained example.

Can you reproduce ?

SELECT
*,
d. -- no intellisense
COUNT(*) OVER (PARTITION BY col1) AS myCount

FROM
(SELECT
1 col1,
'A' col2
UNION ALL
SELECT
1 col1,
'B' col2
UNION ALL
SELECT
2 col1,
'A' col2
UNION ALL
SELECT
2 col1,
'B' col2) d


It's probably related to the following reported case

http://www.red-gate.com/MessageBoard/viewtopic.php?p=67146
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 190
Location: Red Gate Software

PostPosted: Thu Feb 13, 2014 10:41 am    Post subject: Reply with quote

I think you're correct and this is the same issue as your other post so hopefully a single fix will resolve both.
Back to top
View user's profile Send private message
buckley



Joined: 26 Jan 2006
Posts: 25

PostPosted: Thu Feb 13, 2014 2:06 pm    Post subject: Reply with quote

OK, I'll report back if I found more similar cases
Back to top
View user's profile Send private message
buckley



Joined: 26 Jan 2006
Posts: 25

PostPosted: Thu Mar 06, 2014 3:53 pm    Post subject: Reply with quote

fixed with build 6.3.0.235. Thanks Aaron
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group