sql语句传参数

SET @register = '111';
SET @unregister = '11';
UPDATE cw_base_register SET register = @register, unregister = @unregister, updateTime = NOW() WHERE 'code' = 'p'
View Code

 

 
 
posted @ 2018-10-29 14:13  手中天  阅读(3052)  评论(0编辑  收藏  举报