Magento Magento Custom Query Update Data December 13, 2012 Pramod T P $write = Mage::getSingleton(‘core/resource’)->getConnection(‘core_write’); $updateQry = “UPDATE catalog_category_entity_varchar SET value=’three_columns’ WHERE attribute_id=’61’ “; $write->query($updateQry);