Splitting TRUNCATE into two sql statements