Created
September 19, 2014 08:36
-
-
Save peterjaap/e3361c731c8cb1acb8b2 to your computer and use it in GitHub Desktop.
Delete unconverted and inactive quotes from Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM sales_flat_quote WHERE (updated_at < DATE_SUB(NOW(),INTERVAL 60 DAY) || is_active = 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment