Jump to content

Call mySQL function from iReport Designer's "Report Query window.....


robidomadenik

Recommended Posts

Hello.

 

I'm using JasperSoft iReport  Designer 4.0.1  and I'm having trouble calling mySQL function from Report Query window.

I made this function in mySQL (SQL Manager 2005 for mySQL) and function works fine.

 

But when I want to use it like this from Report Query window in iReport Designer:

 

SELECT datum,  SPLIT_CONCAT('test','.')

FROM sk_2007_sak_programi

WHERE konto like '120%

 

....it doesn' work at all.'  It says: "SQL problems: FUNCTION razvoj_programi.SPLIT_CONCAT does not exist"

I used query language SQL or PLSQL, tried both and the same error.

 

Please...anybody??

 

Thanks, Robi

Code:
SELECT datum,  SPLIT_CONCAT('test','.')FROM sk_2007_sak_programiWHERE konto like '120%
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 7 months later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...