Korzh.com developer tools forums :: View topic - Query Builder not placing Virtual Attributes into GROUP BY
Korzh.com
home : Community forums  FAQFAQ   SearchSearch  |  RegisterRegister  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Query Builder not placing Virtual Attributes into GROUP BY

 
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery WinForms
View previous topic :: View next topic  
Author Message
Shykin
Novice


Joined: 06 Aug 2012
Posts: 1

PostPosted: Mon Aug 06, 2012 9:09 pm    Post subject: Query Builder not placing Virtual Attributes into GROUP BY Reply with quote

I'm working on making a query like this using:

SELECT country, COUNT(DATE), COUNT(DATE2), CAST(DATEPART(yyyy, DATE) + CAST(DATEPART(mm, DATE) AS VARCHAR)
FROM TABLE
INNER JOIN TABLE2 ON TABLE.PK = TABLE2.PK
GROUP BY country, CAST(REST OF THE STUFF)

However the easy query keeps forgetting to put that CAST into the group by. Is there anything I'm doing wrong or any suggestions as to why it wouldn't put that custom field into the group by clause. Does it have the ability to figure that out?
Back to top
View user's profile Send private message
Admin
Site Admin


Joined: 07 Nov 2005
Posts: 272

PostPosted: Tue Aug 21, 2012 4:54 pm    Post subject: Reply with quote

No, it's a bug in EasyQuery. We will fix it in the next update.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery WinForms All times are GMT
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