• 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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic