Skip to main content



      Home
Home » Archived » BIRT » DB2 query
DB2 query [message #249171] Fri, 20 July 2007 10:47 Go to next message
Eclipse UserFriend
Originally posted by: alvin_yeung.otpp.com

I am trying to write a DB query in BIRT that look like this

SELECT *
FROM DBADMIN.TABLENAME AS TABLENAME
WHERE TABLENAME.OBJECTNAME LIKE '%?%'.

Basically, this query should return rows in TABLENAME.OBJECTNAME that
contain my BIRT Report Parameter.

However, eclipse editor do not recognize '%?%' contain any parameter.

How do I do this?

Thanks. Any help is appreciated.
Re: DB2 query [message #249190 is a reply to message #249171] Fri, 20 July 2007 11:15 Go to previous message
Eclipse UserFriend
Originally posted by: monicaerbes.trascender.com.ar

you can try with :

SELECT *
FROM DBADMIN.TABLENAME AS TABLENAME
WHERE TABLENAME.OBJECTNAME LIKE '%'||?||'%'

Luck




"alvin" <alvin_yeung@otpp.com> escribi
Previous Topic:Date/Time axis label localization issue
Next Topic:BIRT & Actuate BIRT
Goto Forum:
  


Current Time: Fri Apr 25 22:02:07 EDT 2025

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

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

Back to the top