Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Dunkel
2018-02-19T11:45:30Z
Hi there
I'm having troubles using a task output as parameter in the next task.
It has worked for me before, but now a lot of my automatet jobs fail.

I have a SQL task that returs a series of numbers.
12345
67890
14780 ect
I need the output to look like this, så it can be used i the next sql task
'12345','67890','14780'
I use these output settings
Field separator: Comma
Text wualifier: '
Line break: Comma

It has worked well before, but all of sudden the output looks like this:
'12345','67890','14780',
See that final comma?
That f....up my next SQL task that looks like this:

Select *
from mytable
where param in(output from the first sql task)

Error message: Exception in Task: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ')'.

Can you guyes help out?
Any clue to why the extra comma and how to get rid of it?

Thanks in advance
Sponsor
Forum information
al355
2018-02-21T09:58:01Z
Which version are you using? This doesn't appear to happen in mine (8.1.1)
Dunkel
2018-02-21T12:25:36Z
Hi Al355. I'm using 8.3.1
Support
2018-02-21T15:04:49Z
Yes, it is an issue in that build. Please upgrade to the latest.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Dunkel
2018-02-23T06:49:15Z
Hi Henrik
I'll upgrade - thanks 🙂
Scroll to Top