The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Browse by Tags

All Tags » GroupBy
  • Unable to Group By Sql Functions

    I am attempting to perform a simple query to get the number of redemptions during a specified period of time using the DatePart function of Sql Server.  Everything was going great until I need to Group By the datepart functions since I am using the count() function in the select clause. Originally I put in the following code thinking it ...
    Posted to Dynamic Query API (Forum) by swilkening on November 11, 2008
  • GROUP BY with HAVING?

    I'm able to use the Dynamic Query API to build a SELECT statement with a GROUP BY.  But, is there a way to extend that query to add a HAVING clause? For example, using Northwind, I would like to use the Dynamic Query API to generate a SQL query that looks like the following SELECT statement:Code:SELECT c.CustomerID FROM Customers c LEFT ...
    Posted to Dynamic Query API (Forum) by hirmenator on June 18, 2008