ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <>
Subject RE: Sql Task -- quote marks
Date Mon, 05 Apr 2004 21:52:08 GMT
If your problem with the quote marks is in the ant script you can use &quote; in place
each double-quote mark that is not an attribute delimiter.  The ant script is an XML file
so the entity names should work for you.

Thanks.  Bill

Bill Rich
Wilandra Consulting LLC
1325 Addiewell Place
San Jose, CA  95120-3905
phone:      +1 408 268-2452
mobile:     +1 408 410-9713
Santa Cruz: +1 831 464-9007
fax:        +1 413 669-9716 or

-----Original Message-----
From: []
Sent: Monday, April 05, 2004 2:00 PM
To: Ant Users List
Subject: Sql Task -- quote marks

I think I've isolated a problem in my Ant use of the Sql task. How do I pass a statement
that contains

     select @querystring = "alter table " +  @tmptablename + " drop constraint "  +

This very apparently is not parsed correctly by the Sql task. I'm rooting through, but does
anyone have a quick answer? And is that answer somewhere in TFM but I have missed it?

Jack J. Woehr            # "[F]ar in the empty sky a solitary esophagus slept #  upon motionless wing; everywhere brooded stillness, #  serenity, and the peace of God." - Mark Twain

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message