From e5c062406993c73207ba1ded41d6e391f1e61327 Mon Sep 17 00:00:00 2001 From: Solomon Rutzky Date: Tue, 28 Nov 2017 17:39:43 -0500 Subject: [PATCH] Fix erroneous statement; add clarifications --- docs/t-sql/queries/select-having-transact-sql.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/t-sql/queries/select-having-transact-sql.md b/docs/t-sql/queries/select-having-transact-sql.md index 0e190c6c466..1541f50e979 100644 --- a/docs/t-sql/queries/select-having-transact-sql.md +++ b/docs/t-sql/queries/select-having-transact-sql.md @@ -1,7 +1,7 @@ --- title: "HAVING (Transact-SQL) | Microsoft Docs" ms.custom: "" -ms.date: "08/09/2017" +ms.date: "11/28/2017" ms.prod: "sql-non-specified" ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.service: "" @@ -32,7 +32,7 @@ ms.workload: "Active" # SELECT - HAVING (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-all-md](../../includes/tsql-appliesto-ss2008-all-md.md)] - Specifies a search condition for a group or an aggregate. HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. + Specifies a search condition for a group or an aggregate. HAVING can be used only with the SELECT statement. HAVING is typically used with a GROUP BY clause. When GROUP BY is not used, there is an implicit single, aggregated group. ![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md) @@ -44,7 +44,7 @@ ms.workload: "Active" ## Arguments \ - Specifies the search condition for the group or the aggregate to meet. + Specifies one or more predicates for groups and/or aggregates to meet. For more information about search conditions and predicates, see [Search Condition (Transact-SQL)](../../t-sql/queries/search-condition-transact-sql.md). The **text**, **image**, and **ntext** data types cannot be used in a HAVING clause.