错误提示是什么?http://blog.csdn.net/ACMAIN_CHM/archive/2009/05/12/4174186.aspx
MySQL 中文显示乱码

解决方案 »

  1.   

    mysql>delimiter //
    mysql>create procedure ha(out a int)
             ->begin
             ->select count(*) into a from t;
             ->end
             ->//
    error 1064(42000); you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near 'procedure ha(out a int) begin select count(*) into a from t; end' at line 1