All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by eijal » Fri Aug 17, 2007 5:34 pm
Hi
How can I reset and activate and disactivate many lists at the same time?
Now, I am activating and reseting many lists one by one, and some times it takes a lot of time. How can do that with just one click with a sql sentence?
THANK YOU
-
eijal
-
- Posts: 186
- Joined: Thu Feb 08, 2007 6:34 pm
by mflorell » Sat Aug 18, 2007 10:06 am
It should be really easy to do with a couple SQL statements:
UPDATE vicidial_lists set active='Y' where list_id IN('101','102','103');
UPDATE vicidial_list SET called_since_last_reset='N' where list_id IN('101','102','103');
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by eijal » Mon Aug 20, 2007 9:56 am
mflorell wrote:It should be really easy to do with a couple SQL statements:
UPDATE vicidial_lists set active='Y' where list_id IN('101','102','103');
UPDATE vicidial_list SET called_since_last_reset='N' where list_id IN('101','102','103');
Thank you again Matt:
I'll use something like this:
- Code: Select all
UPDATE vicidial_lists set active='Y' where (list_id >= 101 AND list_id <= 200);
UPDATE vicidial_list SET called_since_last_reset='N' where (list_id >= 101 AND list_id <= 200);[/quote]
-
eijal
-
- Posts: 186
- Joined: Thu Feb 08, 2007 6:34 pm
by mflorell » Wed Aug 22, 2007 9:20 am
Glad it's working for you, I am thinking it might be nice to have a feature for this where you could go to a page and use a multiple select list to define what lists to reset/activate/deactivate all at once.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
Return to Support
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 111 guests