sql server delete output into temp table