Sending parameters to a vortex script
Posted: Wed Apr 29, 2015 7:28 pm
Hi,
I am trying to run a vortex script using the texis command line. My script executes a sql statement.
My command is : texis DATABASE=/mytexisdb var=19507,19508 myvortexscript
In my vortex script, I have the following
<SQL OUTPUT=xml "select ID from MyTable
where ID in ($var) ">
When I run this, I only get back the first value,"19507". How can I set this up so that I get back both "19507" and "19508"?
Thanks.
I am trying to run a vortex script using the texis command line. My script executes a sql statement.
My command is : texis DATABASE=/mytexisdb var=19507,19508 myvortexscript
In my vortex script, I have the following
<SQL OUTPUT=xml "select ID from MyTable
where ID in ($var) ">
When I run this, I only get back the first value,"19507". How can I set this up so that I get back both "19507" and "19508"?
Thanks.