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


ben.ruming
2011-08-27T02:06:01Z
Hi all,

Apologie this is a newbie question, but I cannot figure out (from documentation or my own testing) how to execute a SQL statement in a task and assign the result to a variable.

Is there a tutorial that highlights this ?


Thanks,
Ben
Sponsor
Forum information
ErikC
2011-08-27T09:59:53Z
Hi Ben, welcome to the forum!

What you need to do is setting up a connection to your SQL server and making a user defined variable.
Use this connection in the database task to execute your SQL statement.
Then you need a set variable task to get the output of the database task en assign this to your variable.

Good luck,
Erik
Uses Visualcron since 2006.
ben.ruming
2011-08-28T12:23:53Z
Scroll to Top