IF Action = 'Reminder Mail To Customer' THEN set Content = (SELECT CONCAT('<p>Dear ',a.Name,',</p><p> This is to remind that the your birthday ',a.BirthDate, ', is almost here ,do visit us & get ',b.Dis.' discount from us.</p> <p>Sincerely,<br>YOURS WW</p>') FROM customer_dtl a inner join percentage_dis b on a.ID = b.DisID WHERE a.ID = Get_Id and b.ID = Get_ThisId); set Subject = (SELECT CONCAT(a.CusNo,' Reminder Mail To Customer') FROM customer_dtl a WHERE a.ID = Get_Id); END IF;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)