ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "I am Who i am" <rag...@gmail.com>
Subject How to assign a result of sqltask to variable
Date Tue, 06 May 2008 21:41:56 GMT
Hi All

How to assign a result of sqltask to variable

E.g.

Lets say i have this in my build.xml

<sql
    driver="oracle.jdbc.driver.OracleDrive"
    url="jdbc:database-url"

    userid="sa"
    password="pass"
    >
SELECT user_id FROM user where user_name=${user.name};
</sql>

in this how do i assign user_id now to any variable,?

Please help

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message