Funzioni per il controllo del flusso
You are viewing an old version of this category. View
the current version here.
CASE, IF, IFNULL, NULLIF
-
L'operatore CASE
Sintassi {{{ CASE valore WHEN [valore_di_confronto] THEN risultato [WHEN [v... -
La funzione IF
Sintassi IF(espr1,espr2,espr3) Spiegazione Se espr1 è vera (expr1 <> 0 AN... -
IFNULL
Sintassi IFNULL(espr1,espr2) Descrizione Se espr1 non è NULL, IFNULL() re... -
NULLIF
Sintassi NULLIF(espr1, espr2) Spiegazione Restituisce NULL se è vero che ...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.