In SSRS, when I pass hard-coded values to my stored procedure, it works fine. But it doesn't work when I try to pass the parameters.
Can you please tell me the right syntax for calling MySQL stored procedures in SSRS, through an ODBC data source.
Actually, my problem is either SSRS or the ODBC driver is having a problem sending/receiving the parameter value. Other attempts at syntax:
call shop.GetRegions()
,
call shop.GetRegions(?)
,
call shop.GetRegions(regid)
,
call shop.GetRegions(@regid)
None of these worked. If I call the procedure with a hard-coded value i.e.
call shop.GetRegions(5)
- it works. Again, if the stored procedure has no parameters it works fine. I Want to know How to call MySQL stored procedure in SSRS Reporting? Can You give me any real direction on this issue?