Jump to content
We've recently updated our Privacy Statement, available here ×

Can we use iReport using MSSQL Stored Procedure in Jaspersever


asifisyed

Recommended Posts

Hi,

We will use MSSQL stored procedure to generate report using iReport. Can these reports be deployed in Jaspersever?

Is there any tutorial available  how to call MSSQL stored Proc from iReport. Are there any criteria of Stored-Procedure which statifies iReport?

 

Thanks.

Asif

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 Yes, you can call MS SQL stored procedures from iReport. When you deploy that report to the server, the server will execute the stored procedure and use the result set to fill in the report.

here's the process:

- create your stored procedure

- in iReport, when defining the report query, choose plsql

- in the query, write the call to the stored procedure by its name - <stored_procedure_name> [parameters]

- You can preview the data that the procedure returns right there by hitting the "Refresh Preview Data"

Once you've gotten to this point, you can go ahead and design the report in iReport as you normally would. When you're done and ready to deploy it to the server, you'll just use the repository navigator to upload it.

 

Link to comment
Share on other sites

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...