USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Derive a GROUP BY clause automatically from the SELECT field list
Generates a GROUP BY clause for the SQL statement variable by enumerating every field currently in the SELECT list. Call this after SetFields to produce an aggregation-ready query without manually listing the group-by columns.
| Parameter | Description |
|---|---|
| cmd | SQL statement variable name |
SqlStatement.GenerateGroupByClause "SQL statement variable name"