>Question: What is the industry standard for Database
>scripts?(i.e., either using "SQL" ANT task or using
>sqlplus.exe inside ant through "Apply/Exec" tasks)?
I think it's more a question from you come from.
if your programming java: JDBC
if your programming make files: sqlplus
if your programm
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 3:06 AM
To: user@ant.apache.org
Subject: AW: Looping through a file contents and dynamically add
for each line in the file to task
I thought, statement would processed earlier ...
But I played a little bit and it seems
I thought, statement would processed earlier ...
But I played a little bit and it seems that this would work:
1. The buildfile creates a second buildfile with your sql-oracle target
- extract the static stuff into two files (prepend,append)
BTW: I used properties in the sql-append.txt for
-
From: Guttula, Mohan
Sent: Friday, April 07, 2006 10:32 AM
To: Ant Users List
Subject: RE: Looping through a file contents and dynamically add
for each line in the file to task
Thank you for your Response.
Part of my requirement is to call the "SQL" task only once and add as
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 07, 2006 7:19 AM
To: user@ant.apache.org
Subject: AW: Looping through a file contents and dynamically add
for each line in the file to task
1. Create a child project
- input: the names of the sql files
22:05
>An: user@ant.apache.org
>Betreff: Looping through a file contents and dynamically add
> for each line in the file to task
>
>Hello All,
>
>
>
>I have a "sample.sql" file (this file contents change
>dynamically) that contains the following lines:
>
Hello All,
I have a "sample.sql" file (this file contents change dynamically) that
contains the following lines:
--
release\Country.sql
release\State.sql
release\City.sql
---