You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
用mysql官网的prepare语句测试
PREPARE stmt1 FROM 'SELECT SQRT(POW(?,2) + POW(?,2)) AS hypotenuse';
SET @A = 3;
SET @b = 4;
EXECUTE stmt1 USING @A, @b;
报错如下:
ERROR 1243 (HY000): Unknown prepared statement handler (stmt1) given to EXECUTE
The text was updated successfully, but these errors were encountered:
用mysql官网的prepare语句测试
PREPARE stmt1 FROM 'SELECT SQRT(POW(?,2) + POW(?,2)) AS hypotenuse';
SET @A = 3;
SET @b = 4;
EXECUTE stmt1 USING @A, @b;
报错如下:
ERROR 1243 (HY000): Unknown prepared statement handler (stmt1) given to EXECUTE
The text was updated successfully, but these errors were encountered: