mysql语法

    xiaoxiao2021-03-25  55

    mysql定义变量直接赋值就可以了

    定义varchar类型变量

    set @a='';

    定义int类型的变量

    set @b=0;

    if语句

    if paratype<=0 then set @str=''; elseif paratype=1 then set @str=''; else set @str=''; end if;

    转载请注明原文地址: https://ju.6miu.com/read-40567.html

    最新回复(0)