i have a table called dnc_list where i keep the dnc list
When i create a new list, i want to check it against this list and change the status of the leads appropriate..
i run this mysql query...
- Code: Select all
UPDATE vicidial_list c1
INNER JOIN dnc_list c2 ON c1.phone_number = c2.dnc_number
SET c1.STATUS = 'DNC'
WHERE
c1.list_id = 50082
The dnc list has 8.5 mil records, and the specific list 10.000 records
This query runs the last 8500", its 2AM and i want to go to sleep
can someone suggest a fastest way to do this ?