0

How can I remove all pending reviews in certain store view directly from database? What should I use as SQL query?

2 Answers 2

0

You can update the status to not Approved

UPDATE `review` SET `status_id` = '3' WHERE (`status_id` = '2');
0

Try this :-

UPDATE `review` SET `status_id` = 2 WHERE `review_id` IN (SELECT `review_id` FROM `review_store` WHERE `store_id`=1)

You can change your status_id and store_id based on your requirement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.