Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. If a given search_condition evaluates to true, the corresponding THEN or ELSEIF clause statement_list executes. If no search_condition matches, the ELSE clause statement_list executes.

  2. www.mysqltutorial.org › mysql-stored-procedure › mysql-if-statementMySQL IF Statement

    Use IF...THEN...ELSEIF...ELSE statement to evaluate multiple conditions sequentially and execute corresponding blocks of statements based on the first true condition, with an optional block of statements to execute if none of the conditions is true.

  3. This MySQL tutorial explains how to use the IF-THEN-ELSE statement in MySQL with syntax and examples. In MySQL, the IF-THEN-ELSE statement is used to execute code when a condition is TRUE, or execute different code if the condition evaluates to FALSE.

  4. Definition and Usage. The IF () function returns a value if a condition is TRUE, or another value if a condition is FALSE.

  5. 15 de dic. de 2012 · IF() in MySQL is a ternary function, not a control structure -- if the condition in the first argument is true, it returns the second argument; otherwise, it returns the third argument. There is no corresponding ELSEIF() function or END IF keyword.

  6. 22 de sept. de 2022 · The IF statement has three ways: The IF-THEN statement is used to execute a set of SQL statements based upon a pre-defined condition. When the condition checks to be TRUE, the statements between IF-THEN and ELSE execute. On the other hand, the statements (else-statements) between the ELSE and END IF execute.

  7. IF en MySQL es una función condicional que permite evaluar una expresión y devolver un valor basado en si la condición es verdadera o falsa. La sintaxis básica de la función IF es: «`sql. IF (condición, valor_si_verdadero, valor_si_falso) «`