mysql怎么实现mssql的if exists() begin...end功能?
阿神
阿神 2017-04-17 16:22:37
0
2
1111
阿神
阿神

闭关修行中......

reply all(2)
黄舟

IF ELSE statementIF ELSE语句

IF EXISTS (SELECT 1 FROM dual WHERE 1=1) 
THEN
    #TODO
ELSE 
    #TODO
END IF;

IF ELSEIF ELSE

IF(XXXX) THEN 
    #TODO
ELSEIF(XXXXX) THEN
    #TODO
ELSEIF(XXXX) THEN
ELSE
    #TODO
END ID;
IF ELSEIF ELSE statement🎜 rrreee
阿神

It’s done, it turns out to be similar to mssql

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template