(Still) Can't get Target Based emails to work
Posted: Fri Oct 03, 2008 4:53 pm
Hi, I'm still struggling in getting this to work using mysql. It must be me being very stuppid somewhere. The problem is that date based target groups don't appear to work.
From looking at the database it appears to me that the content of the database field:
dyn_target_tbl.target_sql
is used to create the target group. I edit that and put in there:
date_format(cust.creation_date, '%Y-%m-%d') = current_date
(Note the '-' which is the way mysql reports that field) a mysql query on the customer_1_tbl returns the relevant records but when I try to get the statistics for that target group on my entire recipient database it doesn't return any records.
What am I doing wrong? Any help would be greatly appreciated.
Thanks
Leon
From looking at the database it appears to me that the content of the database field:
dyn_target_tbl.target_sql
is used to create the target group. I edit that and put in there:
date_format(cust.creation_date, '%Y-%m-%d') = current_date
(Note the '-' which is the way mysql reports that field) a mysql query on the customer_1_tbl returns the relevant records but when I try to get the statistics for that target group on my entire recipient database it doesn't return any records.
What am I doing wrong? Any help would be greatly appreciated.
Thanks
Leon