Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » naming parameters in queries
naming parameters in queries [message #729930] Tue, 27 September 2011 09:49 Go to next message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
Hello!

Is there a way to name the parameters in a query? If you write a complex
query with a lot of parameters it is difficult to read with many "?" in
the query, especially if you need the same parameter multiple times in
the query.

What I have in mind is instead of:

select * from mytable where field = ?

to write some sort of this:

select * from mytable where field = :MY_PARAMETER

Is something like this supported by BIRT?

Thanks,
Christian
Re: naming parameters in queries [message #729945 is a reply to message #729930] Tue, 27 September 2011 10:36 Go to previous messageGo to next message
Richard A. Polunsky is currently offline Richard A. PolunskyFriend
Messages: 212
Registered: July 2009
Location: Houston TX
Senior Member

It's not really a BIRT issue. It's how the JDBC standard passes parameters.

Richard
Re: naming parameters in queries [message #731215 is a reply to message #729945] Fri, 30 September 2011 09:36 Go to previous message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
Am 27.09.2011 12:36, schrieb Richard A. Polunsky:
> It's not really a BIRT issue. It's how the JDBC standard passes parameters.

Thanks for that input.

I now tried the "Query Builder" and it seems to support named
parameters. I will see if that is the right path for me :)

Christian
Previous Topic:Null serializer factory specified.
Next Topic:Different series label
Goto Forum:
  


Current Time: Thu Apr 25 13:08:39 GMT 2024

Powered by FUDForum. Page generated in 0.03155 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top