Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. Learn how to use the IFNULL () function in MySQL to return a specified value if the expression is NULL, otherwise return the expression. See syntax, parameter values, examples and technical details.

  2. The IFNULL function returns a string or a numeric based on the context where it is used. If you want to return a value based on TRUE or FALSE condition other than NULL, you should use the IF function. MySQL IFNULL function examples. See the following IFNULL function examples: SELECT IFNULL (1, 0); -- returns 1 Code language: SQL (Structured ...

  3. 25 de abr. de 2021 · Learn how to use ISNULL () and IFNULL () functions to check and handle NULL values in MySQL. See syntax, examples, and applications with tables and queries.

  4. mysql> SELECT IFNULL(1,0); -> 1. mysql> SELECT IFNULL(NULL,10); -> 10. mysql> SELECT IFNULL(1/0,10); -> 10. mysql> SELECT IFNULL(1/0,'yes'); -> 'yes'. The default return type of IFNULL( expr1, expr2) is the more “general” of the two expressions, in the order STRING, REAL , or INTEGER.

  5. Aprende cómo usar las funciones IFNULL y COALESCE para reemplazar valores NULL en MySQL. IFNULL retorna el segundo parámetro si el primero es NULL, mientras que COALESCE retorna el primer parámetro que no sea NULL.

  6. 4 de sept. de 2012 · Aprende a usar la función IFNULL de MySQL para reemplazar los valores nulos por otros en una columna. Ejemplos prácticos con Excel y MaríaDB.

  7. Learn how to use IFNULL, COALESCE, IF and CASE functions to make conditional select statements in MySQL. See examples, explanations and answers from other users.