• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySQL stored procedure passing parameters issue in Model function.

Hi All,

While I am trying to pass parameters on MySQL stored procedure, it is passing empty values and getting the below error. But when pass the same value in a SELECT statement WHERE clause it is working. I have been trying to get resolve this issue for last few days but couldn't resolve. Could you please help me to resolve.

A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' ,null,null)' at line 1
call get_payment_details(25,null,, ,null,null)

Thank you,

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.