I want to save the sql query result into a property in ant. I know i can do it through a file. But can i assign it to a property by directly declaring a property.
eg: select count(colname) from tablename.
So i want to assign count value to a property.
Can’t do this using the standard ant sql task.
Use a groovy script to set the property as follows: