Run transaction and truncate separately