Hello,
You could write the results of your sql query to a file using the <sql>
task's "output" attribute, then read that file in to set a property
value using the <loadfile> task.
Regs,
/t
>-----Original Message-----
>From: Basha [mailto:khadarbackup@gmail.com]
>Sent: Wednesday, July 04, 2007 1:49 PM
>To: user@ant.apache.org
>Subject: need help regarding the sql query
>
>hi,
> i have a sql query which returns the result as "complete" .
>here i want to
>use this result as a property to my taget. i mean based on
>this property i
>want run rest of things.
>
>
>thanks
>khadar
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|