您的位置:首页 > 博客中心 > 数据库 >

mysql存储过程中字符串参数单引号

时间:2022-03-14 04:04

注意:存储过程中单引号  ,四个单引号

SET @sql = CONCAT(‘select user_id into ‘,m_user_id,‘ from go_user where mobile =‘,‘‘‘‘,p_user_name,‘‘‘‘,‘ AND password=‘,‘‘‘‘,p_password,‘‘‘‘);

 

热门排行

今日推荐

热门手游