You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by EXT / FOCAL MALAPRADE Roland <ex...@sncf.fr> on 2003/05/20 18:03:25 UTC

Getting return values from SQL task

Hi,

Is there any way to get a return value with SQL task. Say, for example, with
a "select count(*) from ..." and putting that value in a property. If not
with the SQL task, with Oracle-specific ant task ? (that's the database
we're using)

Thanks,
Roland.

Re: Getting return values from SQL task

Posted by Sebastien Blanc <Se...@alcatel.com>.
hi !
u can use the output param of the sql task.
seb.

EXT / FOCAL MALAPRADE Roland wrote:

> Hi,
>
> Is there any way to get a return value with SQL task. Say, for example, with
> a "select count(*) from ..." and putting that value in a property. If not
> with the SQL task, with Oracle-specific ant task ? (that's the database
> we're using)
>
> Thanks,
> Roland.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org