Hi Team,
I would like to raise a concern that we’ve been facing while developing SQL reports for Holistics.
Most of the SQL scripts I write work perfectly in SQL Server Management Studio (SSMS). However, when I execute the same scripts in Holistics, I often encounter syntax or validation errors that do not exist in the standard SQL Server environment.
So far, I’ve noticed the following differences:
ORDER BYat the end of a query is not accepted by Holistics, even though it is valid SQL Server syntax. This is a significant limitation for us because many of our reports rely on a default sort order, and our clients expect the data to be returned in a consistent order.- Statements must end with a semicolon (
;). This requirement is completely fine, and we can easily follow it.
However, even after removing the ORDER BY clause and adding semicolons, we are still encountering other SQL behaviors that differ from SQL Server.
In addition, some of the errors returned by Holistics are difficult to interpret because they don’t appear to directly correspond to the SQL being executed. For example, we’ve encountered errors referencing syntax or functions that are not present in our queries, as well as generic transformation errors that provide little indication of the actual cause. This makes troubleshooting significantly more difficult and often requires extensive trial and error.
I’ve already created two support tickets with examples so the team can investigate the specific issues we’re seeing.
In addition, I would like to request the following:
-
SQL Compatibility Documentation
It would be extremely helpful to have documentation describing which SQL Server features and syntax are fully supported, partially supported, or not supported by Holistics. A comparison or compatibility guide with standard SQL Server would save a significant amount of development and troubleshooting time.
-
Better Error Reporting and Diagnostics
If Holistics performs SQL parsing, transformation, or validation before executing queries, it would be extremely helpful if the reported errors clearly identified the actual issue or the transformed SQL being executed. More descriptive error messages would make debugging much easier.
-
Support for Essential SQL Features
Some SQL Server features, such as using
ORDER BYin report queries, are essential for report development and for meeting client expectations. If there is a technical reason why these features are currently restricted, we’d appreciate understanding the limitation. Otherwise, we’d like to request that support for these capabilities be considered in future improvements.
Additionally, we’ve encountered several cases where the reported error message does not appear to match the SQL being executed, making troubleshooting extremely difficult.
For example:
- We received the error “Cannot convert undefined or null to object” , which was ultimately resolved by adding any comment line at the end of the script like (-- Test) but I’m not sure if this will work always. The SQL itself executes successfully in SQL Server, and the reported error did not clearly indicate the actual source of the problem.
- In another case, Holistics returned “‘DAYOFWEEK’ is not a recognized datepart option” , even though our query uses
DATEPART(WEEKDAY, ...)and does not referenceDAYOFWEEKanywhere in the SQL.
These types of errors make it difficult to determine whether the issue is related to SQL Server compatibility, SQL parsing, or an internal SQL transformation performed by Holistics. More accurate error messages—or additional debugging information—would significantly reduce development time and make troubleshooting much more efficient.
Having clear documentation, improved diagnostics, and better SQL compatibility would greatly improve the report development experience and reduce the number of support tickets needed for SQL-related issues.
Thank you, and I look forward to your feedback.