I have two Stored Procedures, the first of which creates a temp table and performs an insert
IF OBJECT_ID(\'tempdb..##TempTab\') IS NOT NULL DROP Table ##TempTab