ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Mlodzinski" <Adam.Mlodzin...@quest.com>
Subject RE: <SQL> can't execute a ${property}?
Date Wed, 29 Oct 2003 22:31:57 GMT
I'm suspicious of the difference in:

  [sql] java.sql.SQLException: Syntax error or access violation, message
from server: "You have an error in your SQL syntax near ';

and

  <sql>
  DROP TABLE SIRRAcnty;

In the first case, the sql appears to start with the first character of
the actual statement. In the second case, the first character is a
newline. I'll bet that if you try

<sql>DROP TABLE ...

the same problem will happen. If so, adding a newline or some whitespace
to the beginning of the property text would be the next thing to try.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message