It would be useful to include the STRING_AGG function supported since SQL 2016 (I think) into the accepted set of functions. Using STRING_AGG makes it a lot easier to aggregate the values of multiple rows into one cell (useful in an alert that lists out all of the dependencies of a node in a comma-separated fashion, as a standard SWQL query variable just lists the result from the first row).
https://learn.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql?view=sql-server-ver16
It converts a list of rows into a single cell.
Example without String_agg(), single column, multi-row:
Example with String_agg(), it converts it into a single cell:
- Syed,Catherine,Kim,Hazem,...
This would allow for some interesting and complex Widgets, Reports, and Alerts.
Examples:
- a Query for Nodes with a column showing group membership (comma delimited). This could then be used to filter with group membership CONTAINS X.