Results 1 to 3 of 3

Thread: IF statements

  1. #1
    Join Date
    Jan 2003
    Location
    India
    Posts
    523

    Unanswered: IF statements

    is there anything like
    If ...
    else...


    in mysql ???
    I could not find anything in the manuals
    thnxs
    harshal.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002

  3. #3
    Join Date
    Jan 2003
    Location
    Paris, France
    Posts
    320

    Re: IF statements

    Originally posted by harshal_in
    is there anything like
    If ...
    else...


    in mysql ???
    I could not find anything in the manuals
    thnxs
    harshal.
    Yes there is

    IF(test,result if true,result if false)
    Olivier Miossec
    --
    http://www.lasso-developpeur.net/
    --

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •