Skip to main content



      Home
Home » Archived » BIRT » Queries from Report Builder and Report Engine
Queries from Report Builder and Report Engine [message #92412] Thu, 17 November 2005 22:06
Eclipse UserFriend
I am using the following query with Birt 2.0 M2 release against an Oracle
database. I need to put the to_char in the select statement because Birt is
not picking up the correct date without. This query runs fine when I
preview my results from the datasource. However, this query fails to find
sampletime when it runs in with the Report Engine deployed in a Tomcat.
Both environement have the same JDBC driver. What difference are there
between the Report Builder and Report Engine that may cause this.

Thanks. Bill



select SAMPLEVALUE, to_char(SAMPLETIME,'Mon DD, YYYY HH24:MI')

from PRODUCTIONHISTORY

where SAMPLENAME = 'actualOutput'

and SAMPLETIME > to_date('2005-11-16 6:20','YYYY-MM-DD HH24:MI')

and SAMPLETIME < to_date('2005-11-16 20:00','YYYY-MM-DD HH24:MI')

order by sampletime asc
Previous Topic:How to extract week of month of a given date?
Next Topic:How can I change margins on the table
Goto Forum:
  


Current Time: Tue Jul 15 11:26:44 EDT 2025

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

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

Back to the top