mysql 动态执行存储过程

http://forums.mysql.com/read.php?98,432240,432385#msg-432385

Stored Procedures :: Undeclared variable using SELECT ... INTO in dynamic SQL
In PREPAREd statements you can SELECT INTO user variables only, ie vars whose names begin with `@`.

你可能感兴趣的:(mysql)