Skip to content

Instantly share code, notes, and snippets.

View insaurabh's full-sized avatar
🎯
Focusing

Saurabh Ranjan insaurabh

🎯
Focusing
View GitHub Profile
# Tested on Magento CE 1.4.1.1 - 1.9.2
SET FOREIGN_KEY_CHECKS=0; # important
##############################
# SALES RELATED TABLES
##############################
TRUNCATE `sales_flat_creditmemo`;
TRUNCATE `sales_flat_creditmemo_comment`;
TRUNCATE `sales_flat_creditmemo_grid`;