Thanks, I thought that was the case, just wanted to be sure.

-----Original Message-----
From: Andy Seaborne [mailto:[email protected]] On Behalf Of Andy 
Seaborne
Sent: Wednesday, March 13, 2013 11:03 AM
To: [email protected]
Subject: Re: sdbquery query parameters

On 13/03/13 14:25, David Jordan wrote:
> It looks like I sent this request to the wrong email address 
> yesterday. It is somewhat urgent that I get an answer to this 
> question.

The incuabtor list is automatically directed here. The message arrives
18:49 UTC.

> When using the sdbquery command line utility to run a query provided 
> in a file, I don’t see the syntax that can be used to pass values for 
> query parameters to sdbquery for the query in the file. Is this 
> possible?

sdbquery does not offer that ability - you could preprocess the file with perl 
etc:

sdbquery .... "$(perl ..script.. query.rq)"

or process to a temporary file and use --file on the temporary files.

The java code to support use of parameterized queries is

ParameterizedQueryString.

        Andy

> Are there any Ant tasks that have been developed that may facilitate 
> the running of queries from within Ant and including the capability of 
> passing parameters?
>


Reply via email to