« Return to Thread: Transforming a query in variable and vice-versa

Re: Transforming a query in variable and vice-versa

by David Van Couvering-2 :: Rate this Message:

Reply to Author | View in Thread

I know that Wade Chandler was working on a module that translated
between "query mode" and "Java mode".  Wade?

On Jan 24, 2008 5:12 AM, Ranieri Oliveira <ranieri85@...> wrote:

> Hello guys...
>
> When I'm developing a software, many times I need to transform a query in
> variable, so I do it by hand like below:
>
> Query:
> Select field1,
>  field2,
>  field3
> from table1
> where condition
>
> Variable:
> String myquery = "Select field1,"
>  +" field2,"
>  +" field3"
> +" from table1"
> +" where condition";
>
> This process can be very boring when the query is very large, I want to know
> if someone have a trick to do this process more easy and fast or a way to
> avoid this process.
>
> Thanks
>



--
David W. Van Couvering
http://davidvancouvering.blogspot.com

 « Return to Thread: Transforming a query in variable and vice-versa