Some automated scripts that use an Export Template and runs a SQL query statement are getting the errors below. Issue does not happen to all automation jobs.
Export_1 - Incorrect syntax near '0'.
and / or
Export_1 - Incorrect syntax near 'compiling'.
The issue has to do with using nested comments.
/* djfkdjf /* jfkjfjk*/*/
Remove the comments in your SQL query statement.
Waiting for fix in a future release of Toad Data Point.