Fixed temp table names
Added DBCC commands
Update TRUNCATE to include TABLE afterwards