DQL syntax error
- 10 years ago
Do I need to customize it further?
the errors initially were due to missing section delimiters and separators. Essentially each sections request need the Clause Request and data separated by commas until the last item which does not have a comma an then the next request. Example:
Get Table.column1, Table.column2, Table.column3, Table.column4
Next
END;
In the example I posted my lines:GET user.name,
user.domain,
sum(count) AS access_count,
path.device.name
path.absname,formatdate(timestamp, "YYYY-MM-DD HH:mm")
actually reads:
GET user.name,
user.domain,
sum(count) AS access_count,
path.device.name,
path.absname,formatdate(timestamp, "YYYY-MM-DD HH:mm")
in my report. I am not sure why the comma is truncated it must have been a formatting correction I allowed.
Rod