SQL to change all notifications from instant to daily digest
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on SQL to change all notifications
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
Can you please advice me the SQL code to insert into SQL phpmyadmin in order to :
Update selection to daily digest for all members that have already selected to receive any kind of notifications.
I need to change all instant notifications in favour to daily digest.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
UPDATE wsnlinks_members SET notifymethod='digest';
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
But at the same time I need also not to change the ones that have not selected to receive any notification.
Forum Regular
Usergroup: Customer
Joined: Jul 09, 2008
Total Topics: 22
Total Comments: 110
something like this i guess...
UPDATE `wsnlinks_members` SET `notifymethod` = 'digest' WHERE `notifymethod` = 'instant';
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Thanks mariow.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That particular selection doesn't have a "never" option. The decision to not get anything is a differnet unrelated field.