mysql IF EXISTS

Posted by cosy on Stack Overflow See other posts from Stack Overflow or by cosy
Published on 2010-05-11T12:18:34Z Indexed on 2010/05/11 12:24 UTC
Read the original article Hit count: 248

Filed under:
|

What is wrong with this ?

mysql_query("IF EXISTS(SELECT * FROM y where 1=1 ) THEN do something  ELSE do something END IF"); 

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php