Its very useful to know if your query returned any results. This patch to the sql task allows this, and returns it in whatever property you supply via <sql rowcountproperty="someprop" This patch is optimized to work efficiently both when printing results and not printing results
Created attachment 19099 [details] Change to 1.6.5 SQLExec.java to add rowcountproperty
svn revision 807234