mysql 查看变量的值 例如: set @date_later_1 = date_format(DATE_ADD(@p_name, internal 1 day), “%Y%m%d”); select @date_later_1; //便可查看变量@date_later_1的值