ÔÚmysql´æ´¢¹ý³ÌÖж¨Òå±äÁ¿ºÍ²ÎÊýʱ¿ÉÓпÉÎÞ·ûºÅ@£¬ÇëÎÊÓÐ@ºÍûÓÐ@ÓÐÊ²Ã´Çø±ð£¿Ð»Ð»£¡ create procedure mypro() begin declare @temp int; set @temp=3; end // ´´½¨Õâ¸ö´æ´¢¹ý³ÌµÄʱºòΪʲô»á±¨´íÄØ£¿ Èç¹ûÉÏÃæÕâ¸ö´æ´¢¹ý³ÌÖв»¼Ó@·ûºÅ£¬´æ´¢¹ý³ÌÄÜÕý³£´´½¨£¬ÕâÊÇÎªÊ²Ã´ÄØ£¿
ÏÈÉÏ´íÎó ÎÞ·¨Áª½ÓÊý¾Ý¿â java.sql.SQLException: Before start of result set at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910) at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java: ......
1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿ 2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......
create procedure proc_batchUpdate(in categoryId integer , in artIds varchar(50)) begin set @dsql = count('update article set type=' , categoryId , ' where id in (' , artIds , ' ......