Birt: Query errors on SQL 2000 [SOLVED] [message #1694701] |
Thu, 07 May 2015 09:18 |
Martins Zieds Messages: 7 Registered: May 2015 |
Junior Member |
|
|
So,
I'm having a a bit of a weird problem with setting up with BIRT and creating a report.
As for the connection I'm using jtds driver from here
jtds.sourceforge.net
the most popular one - version 1.3.1
The connection to MS SQL 2000 works fine (I know, it's an old db..)
The connection string is correct , i can make a simple data set with simple query and it works, but for some weird reason, when "date" type is introduced it gives this error(see the image)
To give you an idea of a query, the same error would be thrown is something like this would be executed:
SELECT
(REPLACE(CONVERT(VARCHAR(10), DATEADD(DAY, 0, GETDATE()), 111),'/', '') +'080000')
FROM TEST.TABLE1 WHERE name='test'
I've searched the web and couldn't really find a similar problem. If someone on the first glance has some ideas what the problem could be, i'd much appreciate them. If other info needed, tell me i'll post it.
-
Attachment: error_2.jpg
(Size: 89.43KB, Downloaded 446 times)
[Updated on: Mon, 11 May 2015 13:04] Report message to a moderator
|
|
|
|
|
|
|
Re: Birt: Query errors on SQL 2000 [message #1694866 is a reply to message #1694822] |
Fri, 08 May 2015 14:33 |
|
It must be an issue with the JDBC ODA in BIRT, then. You could look at the source and see if there are any issues causing this issue. You might try creating a stored procedure with your query and calling that from BIRT instead.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03979 seconds