Find Unused Product Attributes

Posted Almost 11 years ago. Visible to the public.

Just to keep things tidy!

SELECT attribute_id, attribute_code, frontend_label
FROM eav_attribute
WHERE entity_type_id = 4
AND attribute_id NOT IN(SELECT attribute_id FROM eav_entity_attribute);
Mike Whitby
Posted by Mike Whitby to Magento (2013-06-21 15:34)