Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

calling sql stored procedure and its parameters from jasper report in jaspersoft studio

 
mariyam saeed
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i am new to jasper reports and i am having trouble at getting sql stored procedure result set and i dont know how to call its parameters
1.i have chosen sql as language in the report query designer
and i have use this code.
EXEC dbo.exam @serial = @serial
i have included all fields name in the fields and added parameters in the parameters.

i am getting ERROR "Procedure or function "exam" expects parameter "@serial" which was not supplied"

1d.PNG
[Thumbnail for 1d.PNG]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!