Similar problem. IF, CASE collapse but not WHILE Even worse: Using the IF function wants to collapse to the next END IF, which is just wrong. as in: SET d_ent_date = IF( t_date1 = '0000-00-00', t_date2, t_date1 );
↧