title: How can I read output of an sql query into an ant property?
body: <p>I would like to feed the result of a simple SQL query (something like: <code>select SP_NUMBER from SERVICE_PACK</code>) which I run inside my ant script (using the <code>sql</code> task) back into an ant property (e.g. <code>service.pack.number</code>).</p>
  
  <p>The <code>sql</code> task can output to a file, but is there a more direct way?</p>