ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject Viewing output of SQL task
Date Thu, 14 Mar 2002 10:21:58 GMT
Is it possible to view the output of an SQL task? In this example I would
like to see the count result as the script runs.
 
Thanks.
 
 
Example task :
 
<target name="sql_test">
 <sql
    driver="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:oracle_db2"
    userid="user"
    password="password"
 >
select count(*) from text;
</sql>
</target>
 
 
Output :
 
sql:
    [sql] Executing commands
    [sql] 1 of 1 SQL Statements executed succesfully
 
 
 
 

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