Jump to content

Question

Posted

I have need to change the Group to a lot of customers.
Can someone help me with the sql command in order to change the group to all clients?

Thanks in advance
 

1 answer to this question

Recommended Posts

  • 0
Posted

Be sure to backup your database before making any changes to it directly.

 

If you are wanting to change all clients from one group to another, then you can run:

UPDATE `clients` SET `client_group_id` = '2' WHERE `clients`.`client_group_id` = '1';

That will result in all clients from group 1 (the default group) being changed to group 2.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...