Open GoogleCodeExporter opened 9 years ago
dbdeploy, like the ant sql task, defaults to using a delimiter of ";",
splitting a
your file wherever this delimiter appears.
When creating an oracle package the entire declaration must be presented to
oracle in
a single chunk. So you need to use a different delimiter.
If you use sqlplus, you need to delimit with "/" on a line on its own. To get
dbdeploy to do this, use these parameters to the ant task:
delimiter="/" delimitertype="row"
(Note that both of your example files need to be presented to oracle in a
single
statement, so it doesn't matter what you set the delimiter to as long as it's
not the
default of ";".)
See UsingTheAntInterface for more information. I'll keep this ticket open
because
this is a common problem and the docs should be clearer.
Original comment by gtack...@googlemail.com
on 8 Nov 2009 at 2:48
Yes, that did. Guilty as charged for not reading the docs. Thanks a lot for the
detailed, helpful response. And my apologies for the late reply.
Original comment by ponybre...@gmail.com
on 7 Dec 2009 at 1:35
Original issue reported on code.google.com by
ponybre...@gmail.com
on 21 Oct 2009 at 12:16Attachments: