汇成软件 Create the world!!!

Mysql 存储过程的使用要点

  1. if the end if 最后需要用分号';'结束

  2. out的值在select 中需要用 into赋值 其他情况 可以尝试set

  3. php获取out的值需要


  4. $sql="call ###_small($id,@pd,@one_count,@two_count,@three_count,@four_count,@five_count)";
    $conn->query($sql);
    $sql="SELECT @pd,@one_count,@two_count,@three_count,@four_count,@five_count";
    $my=run_list($sql);
作者:admin 分类:mysql 浏览:284 评论:0
留言列表
发表评论
来宾的头像