select * from XX limit 后使用参数

set @num =1 ;
PREPARE sss from "select * from `user` limit?";
EXECUTE sss USING @num

posted @ 2022-10-12 11:42  弩哥++  阅读(17)  评论(0编辑  收藏  举报