SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
common table expression (CTE)

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
common table expression (CTE)
Author Message
brian_rassiner



Joined: 08 Jan 2008
Posts: 9

Post common table expression (CTE) Reply with quote
USE AdventureWorks;
GO
WITH DirReps(ManagerID, DirectReports) AS
(
SELECT ManagerID, COUNT(*)
FROM HumanResources.Employee AS e
WHERE ManagerID IS NOT NULL
GROUP BY ManagerID
)
SELECT ManagerID, DirectReports
FROM DirReps
ORDER BY ManagerID;
GO

SQL Assistant is not able to handle output from CTE... does not recognize columns generated from a CTE
Tue Oct 26, 2010 11:40 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
It doesn't currently support Intellisense for CTE. For more details please see http://www.softtreetech.com/support/phpBB2/viewtopic.php?t=23247
Tue Oct 26, 2010 10:59 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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
Design by Freestyle XL / Flowers Online.