How to find rows which exist in new table but not in old table – MySQL

SQL Query: \ SELECT t1.stone FROM newatt t1 LEFT JOIN att t2 ON t2.stone = t1.stone WHERE t2.stone IS NULL\ newatt = new table (contains updated extra rows) att = old table stone = column name on both tables

November 18, 2017 · 1 min · Harshvardhan Malpani

Start a magento instance programmatically

This Code: $mageFilename = 'app/Mage.php'; require_once $mageFilename; Mage::setIsDeveloperMode(true); ini_set('display_errors', 1); error_reporting(E_ALL & ~E_NOTICE); umask(0); Mage::app('admin'); Mage::register('isSecureArea', 1); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); //your mage code here

March 17, 2017 · 1 min · Harshvardhan Malpani