Anil, You may be able to accomplish what you need by using the output attribute of the <sql> task to specify an output file for the sql statement, then use the <loadfile> task to load the value contained in the output file into a property, then use the ant-contrib <if> task to test the value of the property.
-Rob Anderson > -----Original Message----- > From: Jacob, Anil - MWT [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 30, 2004 11:20 AM > To: Ant Users List > Subject: Sql task and property > > > I have an sql task which checks the records in 3 tables. Is > there a way > I can set a property if the value in any of the tables is > 0? This > property will be used for other tasks. > > Anil > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
