Execute MySQL Stored Procedure using Command Line

后端 未结 4 1052
名媛妹妹
名媛妹妹 2021-02-07 10:56

Please help me out to execute a MySQL Stored procedure in command line, where the procedure contains conditional statements..

4条回答
  •  梦如初夏
    2021-02-07 11:03

    If you have parameters,

    call stored_procedure_name(intValue, doubleValue, 'dateValue');
    

    If your stored procedure doesnot take parameters,

    call stored_procedure_name();
    

提交回复
热议问题