字符串mysql存储
create definer=root@localhost procedure kkk(biaoshi varchar(10))
begin
set @count="1";
if(biaoshi.equals(@count)) then
select 2;
else
select 1;
end if;
end
系统报错
:21:52:28 call kkk('1') Error Code: 1305. FUNCTION biaoshi.equals does not exist 0.000 sec
@count为自定义的字符串
biaoshi为传入的字符串
目的:怎么判断@count与biaoshi是否相等后输出2
不相等后 输出1
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号